Message-ID: <368D6347.F9805D5C@montana.com> Date: Fri, 01 Jan 1999 17:07:35 -0700 From: bowman X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: DJGPP COMPILER PROBLEMS References: <368D40F5 DOT 37A1B2BB AT earthlink DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Christopher Newcomer wrote: > > I am having trouble compiling programs that include classes included > in a college text book on programming in c++ Strictly speaking, djgpp is a DOS compiler and doesn't do Windows. I am guessing your text was targeted at a Windows platform, and ccc_win.cpp is supposed to build a console window for you, as well as defining Point, Circle, and the overloaded << operators. You might get by with replacing cwin with cout and reworking ccc_win.cpp, but if you are trying to learn C++, you would do better to start with a book that deals with straight C++. You'll be able to compile the examples and run them in a DOS box under Windows. Lippman seems to be the most popular author on comp.lang.c++ at the moment, and is a bit more accessible than Stroustrup for beginners.