|
From: jansb000 <jan...@pl...> - 2002-08-06 21:24:59
|
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? |