www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/20/06:04:35

From: James Vasile <Vasile AT IName DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help with .h files
Date: Wed, 20 Oct 1999 02:53:36 -0400
Organization: Columbia University
Lines: 26
Message-ID: <amYNOIKPTHaxwzSiZzqUAu2Pn9ke@4ax.com>
References: <37CECA25 AT MailAndNews DOT com> <37975051 DOT 0 AT news DOT uni-bielefeld DOT de>
NNTP-Posting-Host: dialup-cc3-23.cc.columbia.edu
Mime-Version: 1.0
X-Trace: newsmaster.cc.columbia.edu 940402361 8993 128.59.42.128 (20 Oct 1999 06:52:41 GMT)
X-Complaints-To: postmaster AT columbia DOT edu
NNTP-Posting-Date: 20 Oct 1999 06:52:41 GMT
X-Newsreader: Forte Agent 1.6/32.525
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Header files are places to define structures and macros, for the most
part. They get included (#include "header.h") at the top of the .cpp
files that include the actual code you're writing. At least, this is
how it is in c.  I've not done much cpp, and perhaps .h files have
functions in cpp that they don't have in c.

Peace,
-J


On Thu, 22 Jul 1999 17:09:35 GMT, manfred DOT heumann AT uni-bielefeld DOT de
(Manni Heumann) wrote:

>In article <37CECA25 AT MailAndNews DOT com>, "Psycho_Circus" <overtkill AT MailAndNews DOT com> wrote:
>>Is there any help or documentation on the .h files that come with the djgpp 
>>c++ compiler?  I'm new to c++ and do not understand exactly what the .h 
>>files 
>>do.  For example, I never would have figures out what cout or cin is w/o the 
>>c++ book I got.  How do I know what functions are in the .h files and what 
>>they do?  Thanks in advance for any help.
>>
>>- Me
>>
>
>Keep on reading! Don't stop after the first chapter.

- Raw text -


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