Like this article? We recommend
Source Code
The source code for this article (see [1] in the "Additional Reading" section) consists of two folders: code1 and code2. One folder contains one C++ implementation file called C++NutsAndBolts.cpp. The second project consists of four C++ files.
To build this code and try it for yourself, just create a Visual C++ console project, drop the files in from the code1 folder, switch off precompiled headers and away you go! Then, repeat the process for the code2 folder with a second Visual C++ console project.