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!

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to