This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Weird error message
- From: "Hermione Granger" <herm_oh_ninny at hotmail dot com>
- To: gcc at gnu dot org
- Date: Sat, 14 Sep 2002 20:27:34 +0100
- Subject: Weird error message
- Bcc:
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