Mail Archives: djgpp/1997/09/01/13:33:05
From: | "Faust" <kmfdm AT technonet DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | I really need help and the FAQ doesnt cover this!!
|
Date: | Mon, 1 Sep 1997 11:16:49 -0000
|
Organization: | NetLink Internet Systems
|
Lines: | 45
|
Message-ID: | <5uem3p$f2o@ns.technonet.com>
|
NNTP-Posting-Host: | ppp24.technonet.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Sorry if this was posted several times, my server is screwing up.
Ive read thru the FAQ, and its not helping me with my problem. Ive tried
everything its said to but none has worked.
Also, Ive downloaded all zips needed for C++ and I have the iostream.h
The program is a simple "Hello World" that looks like this:
-----------
#include <iostream.h>
int main()
{
cout << "Hello World!\n";
return 0;
}
-----------
Every time I run gcc it says :
-----------
hello.cpp:1: iostream.h: No Such File or Directory (ENOENT)
-----------
Ive also tried removing the "#include <iostream.h>" line and it says:
-----------
hello.cpp: In Function 'int main()':
hello.cpp:3: 'cout' undeclared (first use this function)
hello.cpp:3: (Each undeclared identifier is reported only once
hello.cpp:3: for each function it appears in.)
-----------
Anyone know what my problem is? Ive spent forever trying to figure it out...
- Raw text -