delorie.com/archives/browse.cgi | search |
From: | "aalfonso" <aalfonso AT ica DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Header files |
Date: | Mon, 20 Apr 1998 23:07:47 -0400 |
Lines: | 12 |
NNTP-Posting-Host: | shiva3-net209-151-141-ip042.ica.net |
Message-ID: | <353c14e5.0@lightning.ica.net> |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
One of the examples in the book I'm reading on C++ demonstrates a class declaration written as a header file and then included in a .cc file that implements it. The program compiled successfully once I copied the header file into the INCLUDE directory of DJGPP-I guess this is where the compiler automatically looks for header files. Would this be the usual and correct way to compile a program with your own header file or is there another way? Are there command line switches that will direct the compiler to other directories? Thank you for your help. Alan
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |