I need some help with the basic of OOP in Linux I attempted to
convert some programming that I have done, in DOS, and Windows
cout << "hello world.";
when I compile this little short and nasty program using the following
gcc sample.C -o sample
I get the following error
/tmp/cca024501.o; In function 'main':
/tmp/cca024501.o(.text+0x9): undefined reference to 'cout'
/tmp/cca024501.o(.text+0xe): undefined reference to
'ostream::operator<<char const *)
can anyone tell me what went wrong and what did I do wrong
as a form of a test to see if I can program in Linux?