Mail Archives: djgpp/1999/12/02/02:26:16
may be you meant to type
#include <iostream.h>?
instead of just
#include <iostream>
ie without .h?i have typed with .h and it compiled just fine
With best regards
* * * * * * * * * * * * * * * * * * * *
Leøn
* * * * * * * * * * * * * * * * * * * *
Mastering Solutions
(design and development)
www.bigfoot.com/~xt_contact
www.powerup.com.au/~lvz/resume/entry.htm
----------
> From: Chiew Heng Wah <heng7 AT hotmail DOT com>
> To: djgpp AT delorie DOT com
> Subject: Newbie: C++ compiling
> Date: Thursday, December 02, 1999 11:48 AM
>
> Hi!
>
> I am new with DJGPP. I have a problem while attempting to compile a C++
> program.
> I have downloaded and installed the lpg and gpp binaries at the
appropriate
> directories.
> I have no problems compiling other C programs. Only C++ programs giving
> problems.
>
> Heng Wah.
>
> ============Error Message===========
> %gcc hello.cpp
> hello.cpp:1: iostream: No such file or directory (ENOENT)
> ====================================
>
> ===========Environment Setup========
> DJGPP=c:/djgpp/djgpp.env
> PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UTIL;C:\DJGPP\BIN;
> ====================================
>
> ==========Program Listing===========
> #include <iostream>
>
> int main()
> {
> std::cout << "Hello, World\n";
> return 0;
> }
> ====================================
>
- Raw text -