Programming with MFC & Visual C++ 6.0 Nicholas L. Pappas Ph.D. Author

Programming with MFC & Visual C++ 6.0 Nicholas L. Pappas Ph.D. Author
Brand: CreateSpace Publishing
19.95 USD
Buy Now

Computer Science Design SeriesProgramming with MFC & Visual C++ 6.0This text is about how to use Windows Microsoft Foundation Classes (the MFC) and the software program Visual C++ 6.0 to write programs using windows without knowing how to write the complex code that produces the windows. The MFC/6.0 combination immensely simplifies the writing of any program that uses one or more windows. Second, this is about learning how program with MFC from the bottom up so that you can produce the projects presented here. Many MFC classes and functions replace/obsolete many C, C++, and C# classes and functions. Consequently you can go directly to MFC, and save a lot of time and energy. Programming with MFC allows you to work at the top of the C hierarchy, while avoiding the limitations of C, C++, and C#. This text begins to show you how to program with MFC by using Visual C++ 6.0 to produce skeleton programs on the Visual C++ screen. Skeletons that include code producing the windows in which your programs will be presented. For example, skeletons that require adding only one code line to produce the Hello World program in a window. We say begin, because learning how to program in any language is an endless task. There is an unavoidable cook book element to using Visual C++ 6.0 that dictates how to create the skeletons, and where to enter code in the skeletons. This text is different. Instead of referring you to code on a disk (with few if any comments), and instead of offering partial explanations in the text, requiring you have to go back and forth from book to disk, and wondering what to do next, we show you how code is written that actually creates programs that run on any computer using the windows operating system. That is why only the Visual C++ 6.0 disk is required.We briefly explain most of the code lines used to produce the functions required by the projects. We expect the reader to have a basic programming capability. This text uses the Jeff Prosise text Programming Windows with MFC, as a very useful reference.Most of the time, JP’s text tells us what functions to use. The MFC library, included with Visual C++, tells us how to use them (sometimes).With Jeff Prosise’s text supporting us we were able to write programs using windows, while knowing nothing about windows programming and very little about MFC and the various C languages. JP’s text gave us a great start with the design process producing programs presented in one or more windows. That experience brings us to this point. We wrote this text, because even with the JP reference we learned that we had to answer many How-do-we-do-that? questions. Answers we needed in order to produce programs that run. Answers we share with you by presenting selected topics in the form of working projects.Many types of programs can be implemented with MFC. We focus on dot exe (name.exe) executing programs. JP’s text makes very clear the fact that there is much, much more to MFC then what is presented here.As you read this text it is necessary that the Microsoft Visual C++ 6.0 program, or a later version, is up and running. We strongly recommend that JP’s text is right there next to you.Emphasis: The Visual C++ program, supported by the MFC, immensely facilitates (windows) program design.