|
From: | Steve Bby |
Subject: | #include <iostream> ERROR |
Date: | Fri, 16 Jun 2006 17:44:39 GMT |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
I compile a small program below: ******************** #include <iostream> main() { cout << "Test\n"; } ******************** GOT ERROR: ===================== $ g++ -o bmain bmain.c bmain.c: In function `int main()': bmain.c:5: error: `cout' undeclared (first use this function) bmain.c:5: error: (Each undeclared identifier is reported only once for each function it appears in.) $ What's wrong. Help please!
[Prev in Thread] | Current Thread | [Next in Thread] |