www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/28/03:45:22

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: rhide problem(djgpp)
Date: Wed, 28 Jan 1998 00:42:00 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 21
Message-ID: <34CEC528.49D3@cs.com>
References: <34CEBA78 DOT 14AA273E AT cc DOT umanitoba DOT ca>
NNTP-Posting-Host: ppp242.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jason Prokopowich wrote:
> 
> and I get an error:
> hello.c(2) Error:  iostream.h:  No such file or directory  (ENOENT)
> There were some errors
> 
> Note: The above code worked fine when not using the rhide interface!!!!!

'hello.c' is not a valid name for a C++ program.  C++ filenames must end
in .C (case matters), .cc, or .cpp.

Also, void main() is an illegal construct in ANSI C and C++.  main()
must always return an integer to the operating system.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I |     mailto:fighteer AT cs DOT com      |
| Proud owner of what might one   |   http://www.cs.com/fighteer/   |
| day be a spectacular MUD...     |       ICQ UIN#:  7406319        |
| Plan: To make Bill Gates suffer |     HEAT User ID:  Fighteer     |
---------------------------------------------------------------------

- Raw text -


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