|
From: jansb000 <jan...@pl...> - 2002-08-09 21:16:03
|
This is my program: I still have the problem ([linker error] undefined
reference to 'cout')!
#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[]) {
cout << "hello" << "\n";
system("PAUSE");
return 0;
}
----- Original Message -----
From: "Jim Watters" <ma...@em...>
To: <dev...@li...>
Sent: Wednesday, August 07, 2002 3:11 PM
Subject: RE: [Dev-C++] Stupid question
> -----Original Message-----
> From: Jim Watters
>
> #include <iostream.h>
>
> ;-)
>
> -----Original Message-----
> From: Ioannis Vranos
>
> #include <iostream>
>
> using namespace std;
>
> :)
>
> -----New Message-----
>
> You mean :) must be used instead of ;-)?
>
> Thanks. I'm used to C and doing things "the old way".
>
> :)
>
> Jim
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|