class line { public: line( int inSize, char inFillerChar ) { size = inSize; fillerChar = inFillerChar; } void draw() { for( counter = 0; counter < size; counter++ ) cout << fillerChar; cout << endl; } private: int size; // Size of the line char fillerChar; // Character with which to draw the line int counter; };