This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Weird error message


Dear Gcc creators,

This is the error message I get compiling the attached program.

[xxxxx@xxxxxxxxx xx]$ g++ fork.cpp -o fork
fork.cpp: In function `int main (int, char **)':
fork.cpp:8: `cout' undeclared (first use this function)
fork.cpp:8: (Each undeclared identifier is reported only once for each
function it appears in.)

I am running Redhat Linux 7.2 and GCC version 2.96(not upgraded). Please tell me what's going on.

Bye




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]