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.
Getting by without the cd
If you're like me and checked this out from the library you probably did not get a copy of the cd. I visited the book's website  and downloaded the material from there. What didn't work for me was the link to Quincy 2002.
Instead I visited Google and searched for it. I found that Quincy 2005 was available so I grabbed that. Thankfully Francis made the source for the graphics library used in the book available so it could be compiled for other versions of Mingw and even different tool-kits entirely.
fgwlib.zipfile in a safe location in case you mess up any of the steps. This way you can unzip it and try again.
Building the fgw library for use with Quincy 2005
- Download Quincy 2005 v1.3 and install it.
- Download all archives from the book's website .
tutorial.exe, extract to the folder where the tutorial already resides. It should create a folder called
tutorial. For the rest of the directions I'll refer to this folder as the
tutorialfolder. I'll pretend it's located at
C:\Documents and Settings\deoren\Desktop\ycdi_files
- Open the
tutorialfolder and look for a
C:\Program Files\quincy\mingw\lib\COMPLETE_THIS_PATH\libgdi32.aand replace the
libgdi32.afile within the
fgwlib.zipand copy the updated
fgw_text.hheader file to
fgw_headers. Choose to overwrite the older file.
- Extract library_source.zip. This should give you a folder called source4net.
- Open a command prompt (Start->Run->cmd->Enter)
set path=%path%;C:\Program Files\quincy\mingw\bin
cd C:\Documents and Settings\deoren\Desktop\ycdi_files\source4net
fgwlib.aso there is no confusion which file to add to your projects.
- Every time the book tells you to add
fgwlib.ato your project, add your newly compiled
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
- ISBN 0470449586
- Official website for this book