delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/06/09:26:02

From: awhite_bsfb AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++, Multiple Files, Classes
Date: Thu, 06 Jan 2000 13:33:16 GMT
Organization: Deja.com - Before you buy.
Lines: 16
Message-ID: <8525it$ouh$1@nnrp1.deja.com>
References: <3873FF7B DOT DFB48EA2 AT wt DOT net>
NNTP-Posting-Host: 208.249.243.3
X-Article-Creation-Date: Thu Jan 06 13:33:16 2000 GMT
X-Http-User-Agent: Mozilla/4.7 [en] (Win98; U)
X-Http-Proxy: 1.0 x41.deja.com:80 (Squid/1.1.22) for client 208.249.243.3
X-MyDeja-Info: XMYDJUIDawhite_bsfb
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <3873FF7B DOT DFB48EA2 AT wt DOT net>,
  Aaron Chernosky <chernobl AT wt DOT net> wrote:

> #inlcude "header.cpp"

Unless you wrote wrong, you should mean:

#include "header.h"

as written, you are including the source .cpp file over and over...

(I did it myself a long time ago :-)


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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