![]() |
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
To access the contents, click the chapter and section titles.
Fast Track Visual C++ 6.0 Programming
IntroductionWelcome to our book on Visual C++. This is the book you read after youve read the introductory books on Visual C++ and want to know where to go next. The chief aim of this book is to show you how to write professional programs with Visual C++. Introductory books are fine, but of course they only take you so far. With an immense programming package such as Visual C++, its really a shame not to go farther, because to get to 90 percent of whats interesting in Visual C++, it takes some digging. In this book, we go on a guided tour of whats in Visual C++ and use it the way it was meant to be used. We cover topics all the way from intermediate to the truly advanced: from working with the Windows registry to registering your programs file types with Windows; from doing the right thing when your program loses the focus to determining whether your application is already running. Its all in this book. That doesnt mean that our trip through Visual C++ is a difficult or arduous oneat least, no more than it needs to be. We do everything we can to make things clear and understandable, and you can reuse what we do immediately and practically in your own code. This is a book for programmers. Whats in This BookWe begin our guided tour of Visual C++ with a quick review to get us up to speed. Our Visual C++ review provides the foundation for the rest of the book, and we take care to provide the required tools and resources. Then we launch into Visual C++ and put it to work. Here are some of the Visual C++ topics we cover in this book as we work progressively to more polished programs:
In addition to all the above topics (and moretheres not room here to list all the details), we cram this book full of helpful tips.
You should also know about the code arrows we use throughout this book. As we develop our example programs, we add more and more code cumulatively until the program is finished. When we add a new line of code, we indicate that new line with an arrow to make it easy to know whats going on. Notice also the vertical dots, indicating theres more code to follow but that the following code was omitted for brevity. The following is an example of a code sample with an arrow: #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include resource.h // main symbols #define DLLexport __declspec( dllexport ) ⇐ . . . This book is the culmination of years of working with Visual C++. In it, weve placed the most powerful parts of that package. Without question, Visual C++ is the premier Windows programming package today. If you want to do it in Windows, you can do it in Visual C++. We believe weve done Visual C++ justice in our selection of topics for this book. Who Should Read This BookIf youve read an introductory book on Visual C++ or have worked with Visual C++ and want to go farther, this book is for you. It can be very hard to know whats available in Visual C++ simply because its such a huge package. This book will show us whats available and how to use it. If youve read an introductory book on Visual C++, youre standing on the threshold. The rest of the packageand thats a huge programming vistais spread out before you. But unless you have about a year to ferret out all the details, you will benefit from our guided tour in this book. You do need some familiarity with Visual C++ before working with this book. If you have trouble with the first chapterour review of Visual C++you might want to check out an introductory book before pressing ahead. What You Will NeedTo use this book, you need only Visual C++ 98. Although we occasionally use other programs, such as Microsoft Word, Microsoft Excel, the Windows notepad, or the Microsoft Windows Registry Editor, we use those programs for demonstration purposes only. The real action takes place in Visual C++. Visual C++ includes all the Wizards, tools, and editors we need. Some of the tools and Wizards we see include the AppWizard, the ActiveX ControlWizard, the DLL AppWizard, the OLE Test Container tool, the Menu Editor, the Version Resource Editor, the Dialog Editor, the Controls and Components Gallery,and much more. All these items are part of Visual C++a package so large that everything we need in this book is included in it. The companion Web site includes the code from the programs in the booknearly 40 complete Visual C++ projects, ready to run. Just load them in, build them, and youre set. Youll find the companion Web site at www.wiley.com/compbooks/holzner. Another resource you should know about is the Microsoft Visual C++ page. The URL for this page is www.microsoft.com/visualc, and you can often find a great deal of news there, covering whats going on with Visual C++ and featuring many links. You might also want to check out Usenet groups like microsoft.public.vc.language and microsoft.public.vc.mfc. Ready to GoWere ready to start our guided tour of Visual C++ beyond the basics and into the real meat. To begin our exploration of Visual C++, we need a good foundation. Chapter 1, Up to Speed in Visual C++, reviews the fundamentals. If you already feel confident about your abilities in the basics of Visual C++, you can move directly to Chapter 2, Multiple Documents, Multiple Views.
|
![]() |
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement. |