Programming:C++/Books/You Can Do It!: A Beginners Introduction to Computer Programming
These are my notes from You Can Program in C++: A Programmer's Introduction .
About the book
I'll attempt to give proper remarks for this book later, but suffice to say this book is well worth your time if you're learning C++. I like how Francis pays particular attention to the pitfalls of the language. He teaches you to always check for failing function calls (something a lot of "beginner books" fail to do) and teaches you how to use strings and vectors from the beginning in place of arrays.
What if you don't have the cd?
Before purchasing a copy of the book & CD, I checked out a copy of the book from a library and did not have the CD. This was ok because at the time the author made the contents available from his website.  Unfortunately the author's website hasn't been operational for some time, however on the same note the publisher has newer content available for download. 
At the time the author's website had a broken link to Quincy 2002,  but I was able to find Quincy 2005  which is a newer version of it. Thankfully it is still available for download for those that want to use it. Since Francis Glassborow made the source for the FGW Library (aka, "Playpen") available, we can compile it using newer versions of MinGW or different compilers altogether. That's great because I like to use Netbeans and the current MinGW and plan on trying out Visual Studio as I'm going through the book.
Building the FGW library for use with Quincy 2005
Preparing to build the library
- Download Quincy 2005 v1.3 and install it, then proceed with the rest of the instructions.
- Download the
windows_tutorial.zipfile from the publisher's website for the book  and extract to a temporary location.
- Move all folders inside of
- Move all files from the
C:\tutorial\sourcedirectory to the
C:\tutorial\fgw_headersdirectory, choosing to overwrite existing files.
- Remove the
C:\tutorial\sourcedirectory (should have nothing inside of it).
- Remove the
C:\tutorial\librariesdirectory as we're going to build a newer library file. Aside from the volume serial number, you should see the following:
C:\tutorial>tree /F Folder PATH listing Volume serial number is 38B9-1B1A C:. ├───chapter_1 ├───chapter_10 ├───chapter_11 ├───chapter_12 ├───chapter_13 ├───chapter_14 ├───chapter_15 ├───chapter_16 ├───chapter_17 ├───chapter_18 ├───chapter_2 ├───chapter_3 ├───chapter_4 ├───chapter_5 ├───chapter_6 ├───chapter_7 ├───chapter_8 ├───chapter_9 └───fgw_headers adler32.c colournames.h deflate.c deflate.h fgw_text.h flood_fill.cpp flood_fill.h infblock.c infblock.h infcodes.c infcodes.h inffast.c inffast.h inffixed.h inflate.c inftrees.c inftrees.h infutil.c infutil.h keyboard.h libfgw.a line_drawing.cpp line_drawing.h makefile minipng.cpp minipng.h mouse.h playpen.cpp playpen.h point2d.cpp point2d.h point2dx.cpp point2dx.h shape.cpp shape.h trees.c trees.h winplaypen.gpj zconf.h zlib.h zutil.c zutil.h
Building the library
C:\tutorial\fgw_headers\libgdi32.aand replace any existing copy if it exists.
- Open a command prompt (Start->Run->cmd->Enter)
set path=%path%;C:\Program Files\quincy\MinGW\bin
- Every time the book tells you to add
fgwlib.ato your project, reference
Building the fgw library using the latest MinGW and MSYS tools
tutorial.execontents extracted and the library source files updated. I'll need to clean up these directions so they make better sense.
- Download and install the latest MinGW and MSYS tools
- Either permanently modify the PATH variable, or temporarily modify it with
rmdir /s /q Release
cp Release/libfgwz.a .
- Configure IDE as appropriate