Cover image for Ivor Horton's Beginning Visual C++ 2008.
Ivor Horton's Beginning Visual C++ 2008.
Title:
Ivor Horton's Beginning Visual C++ 2008.
Author:
Horton, Ivor.
ISBN:
9780470332900
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (1394 pages)
Contents:
Ivor Horton's Beginning Visual C++ 2008 -- About the Author -- Acknowledgments -- Credits -- Contents -- Introduction -- Whom This Book Is For -- What This Book Covers -- How This Book Is Structured -- What You Need to Use This Book -- Using the Windows Classic Theme -- Conventions -- Source Code -- Errata -- p2p.wrox.com -- Chapter 1: Programming with Visual C++ 2008 -- The .NET Framework -- The Common Language Runtime (CLR) -- Writing C++ Applications -- Learning Windows Programming -- What Is the Integrated Development Environment? -- Using the IDE -- Summary -- Chapter 2: Data, Variables, and Calculations -- The Structure of a C++ Program -- Defining Variables -- Fundamental Data Types -- Basic Input/Output Operations -- Calculating in C++ -- Variable Types and Casting -- The Bitwise Operators -- Understanding Storage Duration and Scope -- Namespaces -- C++/CLI Programming -- Summary -- Exercises -- Chapter 3: Decisions and Loops -- Comparing Values -- Repeating a Block of Statements -- C++/CLI Programming -- Summary -- Exercises -- Chapter 4: Arrays, Strings, and Pointers -- Handling Multiple Data Values of the Same Type -- Indirect Data Access -- Dynamic Memory Allocation -- Using References -- Native C++ Library Functions for Strings -- C++/CLI Programming -- Summary -- Exercises -- Chapter 5: Introducing Structure into Your Programs -- Understanding Functions -- Passing Arguments to a Function -- Returning Values from a Function -- Recursive Function Calls -- C++/CLI Programming -- Summary -- Exercises -- Chapter 6: More about Program Structure -- Pointers to Functions -- Initializing Function Parameters -- Exceptions -- Handling Memory Allocation Errors -- Function Overloading -- Function Templates -- An Example Using Functions -- C++/CLI Programming -- Summary -- Exercises -- Chapter 7: Defining Your Own Data Types -- The struct in C++.

Data Types, Objects, Classes, and Instances -- Understanding Classes -- Class Constructors -- Private Members of a Class -- The Pointer this -- const Objects of a Class -- Arrays of Objects of a Class -- Static Members of a Class -- Pointers and References to Class Objects -- C++/CLI Programming -- Summary -- Exercises -- Chapter 8: More on Classes -- Class Destructors -- Implementing a Copy Constructor -- Sharing Memory Between Variables -- Operator Overloading -- Class Templates -- Using Classes -- Organizing Your Program Code -- Native C++ Library Classes for Strings -- C++/CLI Programming -- Summary -- Exercises -- Chapter 9: Class Inheritance and Virtual Functions -- Basic Ideas of OOP -- Inheritance in Classes -- Access Control Under Inheritance -- The Copy Constructor in a Derived Class -- Class Members as Friends -- Virtual Functions -- Casting Between Class Types -- Nested Classes -- C++/CLI Programming -- Summary -- Exercises -- Chapter 10: The Standard Template Library -- What Is the Standard Template Library? -- The Range of STL Containers -- Sequence Containers -- Associative Containers -- More on Iterators -- More on Function Objects -- More on Algorithms -- The STL for C++/CLI Programs -- Summary -- Exercises -- Chapter 11: Debugging Techniques -- Understanding Debugging -- Basic Debugging Operations -- Adding Debugging Code -- Debugging a Program -- Testing the Extended Class -- Debugging Dynamic Memory -- Debugging C++/CLI Programs -- Summary -- Chapter 12: Windows Programming Concepts -- Windows Programming Basics -- The Structure of a Windows Program -- Windows Program Organization -- The Microsoft Foundation Classes -- Using Windows Forms -- Summary -- Chapter 13: Windows Programming with the Microsoft Foundation Classes -- The Document/View Concept in MFC -- Creating MFC Applications -- Summary -- Exercises.

Chapter 14: Working with Menus and Toolbars -- Communicating with Windows -- Extending the Sketcher Program -- Elements of a Menu -- Adding Handlers for Menu Messages -- Adding Toolbar Buttons -- Menu and Toolbars in a C++/CLI Program -- Summary -- Exercises -- Chapter 15: Drawing in a Window -- Basics of Drawing in a Window -- The Drawing Mechanism in Visual C++ -- Drawing Graphics in Practice -- Programming the Mouse -- Exercising Sketcher -- Drawing with the CLR -- Summary -- Exercises -- Chapter 16: Creating the Document and Improving the View -- The MFC Collection Classes -- Using the CList Template Class -- Creating the Sketch Document -- Improving the View -- Deleting and Moving Shapes -- Implementing a Context Menu -- Dealing with Masked Elements -- Extending CLRSketcher -- Summary -- Exercises -- Chapter 17: Working with Dialogs and Controls -- Understanding Dialogs -- Understanding Controls -- Creating a Dialog Resource -- Programming for a Dialog -- Supporting the Dialog Controls -- Completing Dialog Operations -- Using a Spin Button Control -- Using the Scale Factor -- Working with Status Bars -- Using a List Box -- Using an Edit Box Control -- Dialogs and Controls in CLR Sketcher -- Summary -- Exercises -- Chapter 18: Storing and Printing Documents -- Understanding Serialization -- Serializing a Document -- Applying Serialization -- Exercising Serialization -- Moving Text -- Printing a Document -- Implementing Multipage Printing -- Serialization and Printing in CLR Sketcher -- Summary -- Exercises -- Chapter 19: Writing Your Own DLLs -- Understanding DLLs -- Deciding What to Put in a DLL -- Writing DLLs -- Summary -- Exercises -- Chapter 20: Connecting to Data Sources -- Database Basics -- A Little SQL -- Database Support in MFC -- Creating a Database Application -- Sorting a Recordset -- Using a Second Recordset Object.

Viewing Customer Details -- Summary -- Exercises -- Chapter 21: Updating Data Sources -- Update Operations -- A Simple Update Example -- Managing the Update Process -- Adding Rows to a Table -- Summary -- Exercises -- Chapter 22: More on Windows Forms Applications -- Creating the Application GUI -- Summary -- Exercises -- Chapter 23: Accessing Data Sources in a Windows Forms Application -- Working with Data Sources -- Accessing and Displaying Data -- Using a DataGridView Control -- Using a DataGridView Control in Unbound Mode -- Customizing a DataGridView Control -- Using Bound Mode -- The BindingSource Component -- Using the BindingNavigator Control -- Binding to Individual Controls -- Working with Multiple Tables -- Summary -- Exercises -- Appendix A: C++ Keywords -- ISO/ANSI C++ Keywords -- C++/CLI Keywords -- Appendix B: ASCII Codes -- Appendix C: Windows Message Types -- Index.
Abstract:
Proudly presenting the latest edition of one of the all-time bestselling books on the C++ language, successful author Ivor Horton repeats the formula that has made each previous edition so popular by teaching you both the standard C++ language and C++/CLI as well as Visual C++ 2008. Thoroughly updated for the 2008 release, this book shows you how to build real-world applications using Visual C++ and guides you through the ins and outs of C++ development. With this book by your side, you are well on your way to becoming a successful C++ programmer.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: