This chapter introduces you to various graphics and audio capabilities provided by Visual C++ 2005 Express. You learn how to work with a number of new classes associated with the System::Drawing::Graphics namespace. Using objects created from classes stored in this namespace, you find out how to draw custom graphics in your applications. You also learn how to use classes to play sounds in your applications. Finally, you discover how to create this chapter's game project, the VC++ Doodle game.
In this chapter, you learn the following:
How to work with the Graphics, Pen, and Brush classes
How to draw both graphics and text
How to work with both the SoundP1ayer and SystemSound classes to add sounds to your applications