Mail Archives: djgpp/1999/01/01/19:09:31
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.
- Raw text -