Page 1 of 1

C++ ??

Posted: Tue Oct 22, 2002 10:50 am
by C++ Guy
is it possible to write your own functions then overload them like cout<<" "; ??

or simply, how woudl you write afunction called cout<< ?

classes?

Re:C++ ??

Posted: Tue Oct 22, 2002 12:10 pm
by pskyboy
Yes its possible to do that

Basically if you want to do it as a function you would do for instance

int operator<<(char* pCharToOutput)