|
From: Rob <ro...@us...> - 2002-08-09 21:32:26
|
I pasted your code into a blank file and compiled/executed it without
problem.
Rob
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...]On Behalf Of jansb000
> Sent: Friday, August 09, 2002 4:16 PM
> To: Jim Watters; dev...@li...
> Subject: Re: [Dev-C++] Stupid question
>
>
> 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
>
>
>
> -------------------------------------------------------
> 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
|