Register your product to gain access to bonus material or receive a coupon.
Join veteran authors Murray and Pappas in MFC Programming in C++ With the Standard Template Libraries, which clearly illustrates how to combine two new and crucial areas of C++ programming
Each library is presented as a stand-alone concept, and each subtopic is tirelessly examined with numerous programming examples. You'll learn key terms and definitions, plus how to build simple applications with both the STL and MFC.
In the third section you'll find the real power of this book. Murray and Pappas skillfully integrate the earlier sections and teach you how to build MFC Windows applications using the STL. You'll find practical examples of how the power of the STL can be brought into the MFC Windows programming environment. These examples are powerful, concise, and on the cutting edge of contemporary C++ programming.
Click here for a sample chapter for this book: 013016111X.pdf
1. Before Jumping into MFC with STL Programming.
From BASIC, to Object-Oriented Programming, now STL-WHY? Not All PCs are Alike. C++ Is Not For Children. STL, An Alternative to Data Structures-Really? STL-A First Look. Who Invented STL? Is STL Only For Experienced Programmers? STL-The "Big Picture". STL Standardization Breeds Industry Acceptance. The Three Components of STL. What Is a Container? What Is an Adapter? What Are Algorithms? What Is an Iterator? Are There Any More STL Components? The Complete STL Package. Historic C, ANSI C, C++, ANSI C++-HELP! Data Structures-A Review. Static vs Dynamic. Typed Pointers. Void Pointers. Hungarian Notation. Overloading Functions. Function Pointers. Objects Using the C++ Struct Keyword. A Structure as a Primitive Class. The Syntax and Rules for C++ Classes. A Simple C++ Class. Objects Using the C++ class Keyword. Class Features. Classes within Classes. Object Initialization and Destruction. Member Function Overloading. What Is the C++ friend Keyword? The Hidden this Pointer. Overloading Operators. Class Inheritance. I Thought Templates Were Just for C++! Templates out of Structures. The Template Keyword. Template Syntax. Template Functions! Template Classes. Why STL Is Better Than Templates. Summary.
What's New in the Latest ANSI/ISO C++ Standard? An Introduction to Namespaces. Coding Namespaces. The using Statement. The Selective using Statement. Renaming Namespaces. static File Scope vs Unnamed Namespaces. Updated ANSI/ISO C++ Casting Operations. Dynamic Casting. Static Casting. C-type Cast. Constant Cast. What is RTTI? The ANSI/ISO C++ Standard Library. A Look at the Libraries. Practice With the ANSI/ISO C++ Standard Library. Designing A Template. The Class Template. The Function Template. Implementing Class Templates. Class Template Parameters. Default Template Parameters. The Standard Template Library. Components of STL. Standard Template Library Rules. Standard Template Library Function Objects. Function Objects. Function Adapters. Pointer-to-Function Adapters. Standard Template Library Algorithms. ANSI/ISO C++ Standard Library Language Support. A Look at <cstddef>. Architecture-specific Headers: <limits>,. <climits>, and <cfloat>. Catching Exceptions. Additional ANSI/ISO C++ Standard Library Headers. Summary.
From iostream.h to <iostream>. STL Syntax. STL <utility> and <functional> Templates. <utility> Template Syntax. <functional> Template Syntax. STL <algorithm> Template. Sample Code. STL <iterator> Template. Iterator Precedence. Iterator Range. Important Naming Conventions. The vectorit.cpp Application. The listit.cpp Application. Summary.
Dynamic Arrays. Making Vectors Data Type-Specific. How to Instantiate a Vector. An Example Using Vector Template Functions. Referencing Single Elements. Adding and Deleting Elements. Determining the Size of a Vector Container. Using the <algorithm> Template with Vectors. <vector> Example Programs. Implementing Stacks with STL Technology. STL Defines Stacks, Queues, and Deques as Adaptors. <stack> Example Program. STL Queues and Double-ended Queues. The <deque> Template. <queue> and <deque> Example Programs. Summary.
Typedefs Used by the <list> Template. allocator_type. size_type. difference_type. reference. const_reference. value_type. const_iterator. reverse_iterator. const_re
In order to take full advantage of the features of this book, you should In order to take full advantage of the features of this book, you should have a basic programming familiarity with developing both procedure-oriented and object-oriented C++ applications for both the command line and Windows environments. Our role will then be to introduce you to key STL and MFC components. YouÕll then learn how to combine these components into working MFC Windows applications using the STL.
The Standard Template Library brings robust programming power to the Visual C++ programmer. This book is divided into three basic sections. In the first section youÕll learn the fundamentals of using the STL in command-line applications. The second section introduces you to the world of object-oriented MFC Windows programming. The third section shows you how the STL and MFC libraries can be combined to produce powerful new Windows applications for both Windows 98 and 2000.
Join Pappas and Murray for a practical look at the power of combining the STL and MFC libraries in simple straightforward programming applications. YouÕll then be able to add your own programming expertise to build robust applications of your own.
For your convenience, Prentice Hall PTR and the authors have provided a file transfer protocol(FTP) site containing all the source codes for this book. The URL is as follows:
ftp://ftp.prenhall.com/pub/ptr/computer_science_reference.w-021/murray_pappas.mfc_programming.sourcecodesprogramming.sourcecodes/