delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/18/23:47:00

From: bbaecht AT sunflower DOT com (Bryant Baecht)
Newsgroups: comp.os.msdos.djgpp
Subject: # directive for # include <iostream.h> giving me an error
Date: Thu, 19 Feb 1998 04:42:35 GMT
Organization: Sunflower Cablevision's Datavision USENET Server
Lines: 12
Message-ID: <6cgd2j$g1u$1@news.sunflower.com>
NNTP-Posting-Host: 24.124.25.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
     I am just starting with the djgpp c and c++ compilers.  I am running on 
Windows NT 4.0.  I have compiled and ran simple c programs, but I am having a 
problem with the c++ compiler/preprocessor.  For some reason I get the 
following error:

undefined or invalid # directive

The line I get the error on is my #include <iostream.h> line.

I have setup the DJGPP environment variable, so what am I missing?  

- Raw text -


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