www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/18/19:01:27

Message-ID: <35899901.1FC0D3E5@ipass.net>
From: Terry <iceman AT ipass DOT net>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Compiles C but not C++
References: <6mbt04$h51$1 AT nnrp1 DOT dejanews DOT com>
Lines: 20
Date: Thu, 18 Jun 1998 22:52:41 GMT
NNTP-Posting-Host: ts8-157-ppp.ipass.net
NNTP-Posting-Date: Thu, 18 Jun 1998 18:52:41 EDT
Organization: iPass.Net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Vagabond_Kube AT my-dejanews DOT com wrote:
> 
> Hi people!
> 
> I'm having a bit o a problme hat I hope someone out there can help me out
> with. I'm trying to write and compile C++ code in DJGPP using RHIDE. When I
> write a standard C program it compiles and runs fine. But then when I try and
> compile a C++ program (I #include <iostream.h>) it returns an error saying
> that it cannot find streambuf.h that iostream.h includes. Yet when I look for
> the file myself in DOS I can easily find it and it is in the EXACT same
> directory as iostream.h is. Both are still under /djgpp/lang/cxx. Is this
> where I should keep them or should I move these files elsewhere. Any help
> would be greatly appreciated.
> 

Is this Win 95, NT, or just DOS?  It probally has something to do
with long file names.  There are 9 characters in "streambuf", so
you have to set your LFN environment varible.

Terry

- Raw text -


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