|
From: Jim W. <ma...@em...> - 2002-08-06 21:42:02
|
#include <iostream.h> ;-) -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of jansb000 Sent: Tuesday, August 06, 2002 5:25 PM To: Dev-C++ Subject: [Dev-C++] Stupid question I feel a bit silly but somehow I seem to have forgotten a basic setting in DEVC++. When I create a new project, using the templates for a console application, I can compile and run without any problem. (Note: the template contains the most simple main() with no functionality except waiting for a keypress). Next when I add one line to main(): cout << "Hello world\n"; then compiling is ok but linking doesn't work anymore. I get the message: [linker error] undefined reference to 'cout' Is there a library that I have to include? How does this work? |