delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/14/02:00:14

Message-ID: <3623F956.6CBF23A7@fcmail.com>
Date: Tue, 13 Oct 1998 18:07:34 -0700
From: Kagenin -=GT=- <kagenin_z AT fcmail DOT com>
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: My First DJGPP Compiled C++ Program: Errors
NNTP-Posting-Host: 209.142.55.87
X-NNTP-Posting-Host: 209.142.55.87
Lines: 24
X-NNTP-Posting-Host: 209.63.114.134
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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

- Raw text -


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