When I had my code on one big page is was working fine but as soon as a try to organize it and make a header and cpp file for my class I ran into an issue with the overload for <<. It gives me a bunch of errors on line 19 column 1 of my intArray.h file;
error C2143: syntax error : missing ';' before '&'
error C2433: 'ostream' : 'friend' not permitted on data declarations
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2061: syntax error : identifier 'ostream'
error C2805: binary 'operator <<' has too few parameters