| Subject: | #include <iostream> ERROR |
|---|---|
| From: | Steve Bby |
| Date: | Fri, 16 Jun 2006 17:45:04 GMT |
| Newsgroups: | gnu.gcc.help |
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> |
|---|---|---|
| ||
| Previous by Date: | automatic program name change, Yvan |
|---|---|
| Next by Date: | Re: #include <iostream> ERROR, Thomas Maeder |
| Previous by Thread: | automatic program name change, Yvan |
| Next by Thread: | Re: #include <iostream> ERROR, Thomas Maeder |
| Indexes: | [Date] [Thread] [Top] [All Lists] |