delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/19/06:02:14

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: # directive for # include <iostream.h> giving me an error
Date: Thu, 19 Feb 1998 11:51:33 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 33
Message-ID: <34EC0EB5.72FAEE9C@LSTM.Ruhr-UNI-Bochum.De>
References: <6cgd2j$g1u$1 AT news DOT sunflower DOT com>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Bryant Baecht wrote:
> 
> 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?

The only thing I can imagine is a typo in that line. If there
was something wrong with your set up, you'd get a file not 
found error. Maybe you have some unprintable character
in that line, so just yank it and re-type it
again. 
-- 
Ciao
Tom

*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


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