| delorie.com/archives/browse.cgi | search |
| Message-ID: | <053d01bdf757$e1d092c0$7b7d14cb@dragon> |
| From: | "James Takac" <pdragon AT jtn DOT net DOT au> |
| To: | <djgpp AT delorie DOT com> |
| Subject: | Re: My First DJGPP Compiled C++ Program: Errors |
| Date: | Wed, 14 Oct 1998 19:48:06 +1000 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 4.72.3110.5 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
| Reply-To: | djgpp AT delorie DOT com |
it would appear that you've missed a quote after the exclamation mark in the
cout statement. place it in there and you should find it'll run
-----Original Message-----
From: Kagenin -=GT=- <kagenin_z AT fcmail DOT com>
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com <djgpp AT delorie DOT com>
Date: Wednesday, October 14, 1998 4:45 PM
Subject: My First DJGPP Compiled C++ Program: Errors
>Just wondering why this standard fare Hello World Bit won't compile
>
>#include <iostream.h>
>
>int main()
>{
> cout << "Hello World! <<endl;
> cin.get();
> return 0;
>}
>
>Any Suggestions? BTW, I am using the command
>
>>gxx -o hello.exe hello.cpp
>
>and the error I am getting is
>
>c:/djgpp/lang/cxx/iostream.h: _defs.h: No Such File or Directory
>(ENOENT)
>
>
>--
>"Attitude is no substitute for Compitence."
>Hack.org
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |