delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/04/01:43:59

From: "Lavadome" <lavadome95 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <3894cfdd AT usenet DOT rollanet DOT org> <m0o99sgr3g4tlqb66uvf2qj8t0pspp04ld AT 4ax DOT com>
Subject: Re: Compiling C++ program...
Date: Thu, 3 Feb 2000 23:52:48 -0600
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: news.uncensored-news.com
Message-ID: <389a69d5_4@news.uncensored-news.com>
Organization: Uncensored-News.Com $8.95 Uncensored Newsgroups.
X-Report-Abuse-To: abuse AT uncensored-news DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Jason Green" <news AT jgreen4 DOT fsnet DOT co DOT uk> wrote in message
news:m0o99sgr3g4tlqb66uvf2qj8t0pspp04ld AT 4ax 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>

  using namespace std;        // must add this or use the old '#include
<iostream.h>'

> int main()
> {
>  cout << "Hello World!" << endl;
> }

Charles Evans
lavadome95 AT yahoo DOT com




______________________________________________________________
Posted via Uncensored-News.Com, http://www.uncensored-news.com
    Only $8.95 A Month, - The Worlds Uncensored News Source

- Raw text -


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