delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/07/17:42:06

Date: Mon, 7 Apr 1997 17:35:31 -0400 (EDT)
From: "art s. kagel IFMX x2697" <kagel AT dg1 DOT bloomberg DOT com>
To: Adam Bracey <tabrac0 AT sac DOT uky DOT edu>
Cc: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Re: iostream.h, math.h, etc.....
In-Reply-To: <01BC41F0.A9BF8A30@pa2dsp18.lex.infi.net>
Message-Id: <Pine.D-G.3.91.970407173337.16532B-100000@dg1>
Mime-Version: 1.0

You must follow the '#include' with a space!  Ex:

#include <iostream.h>
#include "prog.h"

BTW do not include C++ source (.cc) files only header (.h) files.

Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com

On Sat, 5 Apr 1997, Adam Bracey wrote:

> Hello all!
> 
> I have a small problem.  (I guess it could be large considering it is 
> preventing me from using djgpp!)  Every time I try to compile a C++ 
> program, it tells me that no such file or directory exists for anything 
> I every put after a #include statement.  (#include<iostream.h> or 
> #include"prog.cc"  where prog.cc is some program that exists in the same 
> directory.)  Any help pertaining to this matter would be greatly 
> appreciated!  Thanks! 
> 
> Adam Bracey
> tabrac0 AT sac DOT uky DOT edu
> 
> 

- Raw text -


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