|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
The code for the examples in the text is in the "Code from the book" subfolder and the code for each
chapter is in a subfolder identifying the chapter number. Where an example involves several
source files, all source files are in a spearate subfolder indentified by the execercise number.
The Ch1 subfolder is empty because there are no examples of consequence in Chapter 1.
The "Solutions to exercises" subfolder contains the solutions to the exercises organized by chapter.
Generally there is not a unique solution to a given programming problem so if your solution
to an exercise differs from what is here, this does not mean it is incorrect. It may even be
a better solution!
Because Visual C++ project files contain path specific information, I have not included my
project files in the code - just the source code and resource files. To make use of the
code for MFC and Forms examples to create an executable program you will need to create a
suitable project and replace source files that have the same name with those here,
and add the remaining source files to the project.
I have not provided code for solutions to the Chapter 23 exercises as virtually
all of the code is generated by Visual C++ so the Ch23 folder is empty. There are no exercises for
Chapter 1 so thye Ch1 folder is also empty.
I recommend that you only use these files as a last resort. You will learn a great deal
more by overcoming any problems that arise yourself. A great deal of the time programming
is about trying to figure out where your mistakes are. You have to enjoy doing this and
you need to be persistent to be a successful programmer. |
|