The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice. The answers to the quiz can be found in Appendix A, "Quiz Answers."
Quiz
1:
What's a handle?
2:
What problem does Hungarian notation attempt to solve?
3:
What standard Win32 function is akin to the main() function in traditional C/C++ programs?
4:
What header file is required as an import into all Windows programs?
Exercises
Use Hungarian notation to come up with variable names for the following variables : an integer that stores the score of a game, a string that stores the name of a color , and a Boolean that keeps track of whether a player in a game is alive .
Change the text displayed in the WM_PAINT message handler in the Skeleton application, and then rebuild and run the program to see the different results.