www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/21/15:15:22

From: "Martin Ambuhl" <mambuhl AT tiac DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: #include <....h> don't realy works !
Date: Thu, 21 May 1998 15:02:38 -0400
Organization: Who wants to know?
Lines: 35
Message-ID: <6k1tf6$rdj@news-central.tiac.net>
References: <6k1rv3$esf$1 AT news3 DOT Belgium DOT EU DOT net>
NNTP-Posting-Host: p11.tc3.newyo.ny.tiac.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

jan malina wrote in message <6k1rv3$esf$1 AT news3 DOT Belgium DOT EU DOT net>...
:Ok, i just started with DJGPP (Latest version) and I had a problem when I
:was testing it: I maked a simple C++ program:
============
I cannot reproduce your error.  But then I have sufficient
environment space.  Fix that and see what happens.

While you are fixing things, change void main(void)
to int main(void) to be standard-compliant and
change <iostream.h> to the modern <iostream>.
========
:
:#include <iostream.h>
:
:void main(void){
:cout << "\t\tHello, World from DJGPP\n\n\n";
:}
:
:and when I compile it with gxx or gcc it says that iostream.h is not found.
:It gives the same error when i do it with a exemple.
:
:Ps1: I am not a newbie in C/C++
:Ps2: I have added it to my path an seted the env.
:Ps3: When i boot I get the error. Not enough envoiermentspace.
:
:Ps4: Sorry for my poor speling. I am dutch and 11 years !
:
:Jan Malina
:Jan DOT malina AT ping DOT be
:REMOVE THE SPAMTHINGS BEFORE REPLYING !
:
:


- Raw text -


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