Date: 17 May 2000 13:47:39 -0700 Message-ID: <20000517204739.28543.cpmta@c012.sfo.cp.net> X-Sent: 17 May 2000 20:47:39 GMT Content-Type: text/plain Content-Disposition: inline Mime-Version: 1.0 To: djgpp AT delorie DOT com From: frans nagel X-Mailer: Web Mail 3.6.3.1 Reply-To: djgpp AT delorie DOT com hello Djgpp I have a two more questions, sometimes the file with int main gets too long to be practical and I would like to call non-class functions from main written on a new cpp page but I don't know how to connect it to main.how do you include non class cpp pages so main knows where to find the function ? how do you overload the istream and ostream operators in a class template? in the class declaration I have template class array{ friend ostream&operator<<(ostream&,const array&); public: ... private: ...;}; and in the cppfile I have template ostream &operator<<(ostream &output,const array& right){ int i; for( i=0;i