delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/20:34:38

From: "Joost F. Jacob" <jacobjf AT cistron DOT nl>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
Subject: Re: CIN COUT
Date: 6 Mar 1997 00:06:25 GMT
Organization: Joost F. Jacob Software
Lines: 28
Message-ID: <01bc29c2$2172d7e0$8d4140c3@dezepc.cistron.nl>
References: <331BC0D5 DOT 5CB AT aracnet DOT com> <01bc2905$e808d700$8e4140c3 AT dezepc DOT cistron DOT nl> <331d6a76 DOT 81416160 AT speedy>
NNTP-Posting-Host: p12.alp.cistron.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


Yuri Gonik <yurig AT amdocs DOT com> wrote in article
<331d6a76 DOT 81416160 AT speedy>...
> I think main() should be of type int ...
> 
> Regards, Yuri.
> 
> >Brian <bardito AT aracnet DOT com> wrote in article
<331BC0D5 DOT 5CB AT aracnet DOT com>...
> >> Can Someone please tell me what is wrong with the following program.
> >> I try to compile it on djgpp but I get 'undeclared' or something
error.
> >> Maybe I don't have the right iostream.h file?
> >>    #include <iostream.h>
> >>    main()
> >>    {
> >>    cout << "Hello, World";
> >>    }
> >> Thanks in advance.  - bardito AT aracnet DOT com
> >> 
> >Add the line
> >return 0;
> >as last line in main()
> >
> >maybe thats all, i dont know that compiler of yours

what a TROLL...hehehe :) FINALLY!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019