Having trouble getting my header file to compile correctly.
Getting a compile error of
double avgArea,count; //count used a a counter to keep track of number of times i've computed the perimeter and area.
double Area, Perimeter;
friend ostream& operator<<(ostream& outputStream, Rectangle& z);
friend istream& operator>>(istream& inputStream, Rectangle& z);
ISO C++ forbids declaration of 'ostream' with no type
'ostream' is neither function nor member function; cannot be declared friend
It is also saying the same thing with the istream. I'm not sure where to go from here, this code was working till I broke off the code to a header file. Well it was working when all of my code was in the same file.
expected ';' before '&' token