delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/04/22:28:06

From: "Joost F. Jacob" <jacobjf AT cistron DOT nl>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
Subject: Re: CIN COUT
Date: 5 Mar 1997 01:39:08 GMT
Organization: Joost F. Jacob Software
Message-ID: <01bc2905$e808d700$8e4140c3@dezepc.cistron.nl>
References: <331BC0D5 DOT 5CB AT aracnet DOT com>
NNTP-Posting-Host: p13.alp.cistron.nl
Lines: 20
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


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

Joost

- Raw text -


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