| www.delorie.com/archives/browse.cgi | search |
| From: | "Chiew Heng Wah" <heng7 AT hotmail DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Newbie: C++ compiling |
| Date: | Thu, 2 Dec 1999 09:48:14 +0800 |
| Lines: | 33 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
| NNTP-Posting-Host: | sal-217-19.tm.net.my |
| X-NNTP-Posting-Host: | sal-217-19.tm.net.my |
| Message-ID: | <3845cd1a.0@news2.tm.net.my> |
| X-Trace: | 2 Dec 1999 09:36:26 +0800, sal-217-19.tm.net.my |
| Organization: | TMnet Malaysia |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
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;
}
====================================
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |