void rectangle (ofstream &fout, char ch , int x, int y)
, you call line completely incorrectly. 1) num isn't declared anywhere. 2) Your missing an entire parameter. And I don't understand why any of this matters. line() or rectangle() is never going to be called.
|
|