delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/30/20:35:33

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Compiling C++ program...
Date: Mon, 31 Jan 2000 01:22:36 +0000
Organization: Customer of Planet Online
Lines: 26
Message-ID: <m0o99sgr3g4tlqb66uvf2qj8t0pspp04ld@4ax.com>
References: <3894cfdd AT usenet DOT rollanet DOT org>
NNTP-Posting-Host: modem-1.argon.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg4.svr.pol.co.uk 949282152 24192 62.136.17.1 (31 Jan 2000 01:29:12 GMT)
NNTP-Posting-Date: 31 Jan 2000 01:29:12 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Me" <lisdude AT yahoo DOT com> wrote:

> Hi everyone. It's me again. I have been searching the FAQ for about 45
> minutes and I absolutely CANNOT find the solution to my problem. I know I am
> looking right at it but I don't know. Anyway, in my program I have added a
> line that is:
> 
> #include <iostream.h>
> 
> Well, RHIDE says it can't find this file as does the compiler. I set up the
> autoexec.bat file just like it said. I installed it all in the c:\djgpp
> directory and everything. Can someone help me to fix this so I can include
> this file to run my program? Thanks in advance for all of the help!

Does section 8.2 of the FAQ help?

If not you need to post more info.  Try a simple program and post the
exact error(s) you get.

// hello.cpp
// compile with: gpp -Wall hello.cpp -o hello
#include <iostream>
int main()
{
 cout << "Hello World!" << endl;
}

- Raw text -


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