To build the sample applications in this book, you must deal with compiler and linker switch settings. I tried to isolate these setting details from the sample applications by placing almost all of them in a single header file named CmnHdr.h. It is included in all the sample application source code files.
Since I wasn't able to place all the settings in CmnHdr.h, I made some changes to each sample application's project settings in the Project Settings dialog box:
That's it. These are the only settings that I explicitly changed; I accepted the default settings for everything else. Note that I made the two changes for both the debug and release builds of each project. I was able to set all other compiler and linker settings in the source code, so these settings will be in effect if you use any of my source code modules in your projects.