Mail Archives: djgpp/1998/01/28/03:45:22
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 -