Introduction to Windows And Graphics Programming With Visual C++ .net

Roger W Mayne





This book provides an accessible approach to the study of Windows programming with Visual C++. It is intended to be an introduction to Visual C++ for technical people including practicing engineers, engineering students, and others who would like to understand Windows programming and use its inherent graphic capabilities. While the book is aimed at a technical audience, the mathematical content is modest and it should be readable by most people interested in C++ programming. It introduces readers to Windows programming in a natural way, making use of the object-oriented environment, the Microsoft Foundation Classes (MFC), and the document/view organization.

Over fifty example projects are included on a companion CD. These example projects are used in the books tutorial format initially by introducing Visual C++ programming and important C++ concepts. Then coverage of Windows programming begins with fundamental graphics operations including interactive drawing with mouse inputs. This is followed by program interaction through Windows tools for creating drop down menus, toolbar buttons, dialog windows, file input/output, output to printers, etc. Basic animation concepts are presented, using classes to develop, manipulate and display geometric shapes. Graphs are plotted as objects and the process of creating color contour plots is discussed.

After using this book and following its collection of example programs, readers should be well prepared to write interactive programs which integrate Windows functionality and graphics with their own C++ programming. The step-by-step structure of each example in the book is described thoroughly and only standard Microsoft resources for graphics are required. Exercises at the end of each chapter provide opportunities to revisit and extend the tutorial examples. The project folders on the CD include complete program code for all examples. Files are also provided that contain classes and functions for handling geometric objects and graphs and which may be easily adapted for a wide variety of application programs.

Table of Contents

  • Basic Concepts
  • Arrays, Pointers and Structures
  • Introducing Classes and Objects
  • Beginning Windows Programming
  • Basic Graphics
  • Introducing Windows Tools
  • More Adventures with Windows Tools
  • Classes, Objects and Animation
  • Classes for Graphs, Plotting and Calculations