delorie.com/archives/browse.cgi | search |
From: | Mark Collinson <mark DOT collinson AT unn DOT ac DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | C++ "Hello World" compiling problem |
Date: | Thu, 17 Jun 1999 11:40:16 +0100 |
Organization: | University of Northumbria at Newcastle |
Message-ID: | <3768D090.9BA88A6F@unn.ac.uk> |
NNTP-Posting-Host: | monkey.unn.ac.uk |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 4.51 [en] (WinNT; I) |
X-Accept-Language: | en |
Lines: | 31 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Greetings all, Having difficulties compiling a basic C++ "Hello World" program. The program and compiler output are provided below. Basically it's complaining that streambuf.h cannot be found, but it does exist. AND the DJGPP.ENV's +LFN=y. I am using Windows NT 4.0 Can anybody provide a solution? Thanks in advance, Mark. C:\mark\code>more<greeting.cpp #include <iostream.h> int main() { cout << "Hello World." << endl; return 0; } C:\mark\code>gxx -Wall -o greeting.exe greeting.cpp In file included from greeting.cpp:1: c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory (ENOENT) C:\mark\code>
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |