This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
New to GCC
- From: jlopes151 at comcast dot net
- To: gcc at gcc dot gnu dot org
- Date: Sat, 14 Aug 2004 08:15:35 +0000
- Subject: New to GCC
Ok after a number of coding years I've gotten around to GCC. I'm compiling a cpp file and find
I can't use "cout" nor "endl".
compile command line:
gcc -c Widgets.cpp
were a method is to display the name of the widget,
void Widget::displayName(){
cout << "Name of widget " << widgetName << endl;
}
I include the iostream header
the error message claims "cout" is undeclared.
thanks for the help