Date: Tue, 19 Jul 1994 18:03:48 -0400 (EDT) From: Edwin Phillips Subject: Re: C++ Installation To: Minsoo Kim Cc: djgpp AT sun DOT soe DOT clarkson DOT edu On Tue, 19 Jul 1994, Minsoo Kim wrote: > I have two beginners' questions: > A. After I pkunzipped gpp257.zip, I wrote a tiny test program cc.c: > #include > main() > { > cout << "Test."; > } > After I did gcc cc.c, I received :"IOSTREAM.H :file not found." I > noticed that the C++ include files were in the directory \CPLUSINC. > Should I "manually" move these files to the \INCLUDE > directory, change AUTOEXEC.BAT, or is there a third way to install? > B. I pkunzipped the required zip files, the gpp and GRX files, then the > 5 maints. Is this the correct order? > Use the extension .cc on your C++ code. gcc defaults to C compiling when it sees the .c extension. Also, set your CPLUSINC environment variable to be something like: set CPLUSINC=c:/djgpp/include;c:/djgpp/cplusinc Happy compiling, Ed /****************************************************************************/ /* Ed Phillips flaregun AT strauss DOT udel DOT edu University of Delaware */ /* Jr Systems Programmer (302) 831-6082 IT/Network and Systems Services */ /****************************************************************************/