|
This book is the latest edition of the bestselling book on the C++ language and visual C++. Ivor Horton has a loyal following who love his approach to teaching programming languages. In this book, Horton repeats the formula that made the current edition so popular, he provides a comprehensive introduction to both the standard C++ language and to visual C++. The book has been thoroughly updated (about 30 percent) for the 2013 release. This book shows novice C++ programmers how to build real-world applications using visual C++. No previous programming experience is required. The author uses numerous step-by-step programming examples to guide readers through the ins and outs of C++ development. The author fully covers new features of this significant 2013 release, including: C++ language and library changes supported under Visual Studio 2013:
Delegating constructors (supported in preview) Explicit conversion operators (supported in preview) rvalue/lvalue reference casts (supported in preview) Raw string literals (supported in preview) Initializer lists and uniform initialization (supported in preview) Variadic templates (supported in preview) Default function template arguments (supported in preview) And more
IDE-specific changes:
Editor options for C++ code formatting Just my code support for C++ debugging C++ auto-completion feature
In addition, the following are supported in the VS 2013 RTM:
C++ 11 rvalue/lvalue casting rules Alias templates. Defaulted functions Deleted functions Non-static data member initializers
Plus support for new C++ 14 STL feature
Table of Contents
Chapter 1: Programming with Visual C++
Learning with Visual C++ Writing C++ Applications Learning Desktop Applications Programming The Integrated Development Environment 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++ Type Conversion and Casting The Auto Keyword Discovering Types The Bitwise Operators Introducing Lvalues and Rvalues Understanding Storage Duration and Scope Variables with Specific Sets of Values Namespaces Summary
Chapter 3: Decisions and Loops
Repeating a Block of Statements Summary
Chapter 4: Arrays, Strings and Pointers
Handling Multiple Data Values of the Same Type Working with C - Style Strings Indirect Data Access Dynamic Memory Allocation Using References Library Functions for Strings Summary
Chapter 5: Introducing Structure into Your Programs
Understanding Functions Passing Arguments to a Function Returning Values from a Function Returning a Pointer Recursive Function Calls Summary
Chapter 5: Introducing Structure into Your Programs
Understanding Functions Passing Arguments to a Function Returning Values from a Function Returning a Pointer Recursive Function Calls Summary
Chapter 7: Defining Your Own Data Types
The Structure in C++ Types, Objects, Classes and Instances Understanding Classes Class Constructors Private Members of a Class The Pointer this Const Objects Arrays of Objects Static Members of a Class Pointers and References to Objects Summary
Chapter 8: More on Classes
Class Destructors Implementing a Copy Constructor Operator Overloading The Object Copying Problem Default Class Members Class Templates Perfect Forwarding Default Arguments for Template Parameters Aliases for Class Templates Template Specialization Using Classes Organizing Your Program Code Library Classes for Strings Summary
Chapter 9: Class Inheritance and Virtual Functions
Object - Oriented Programming Basics Inheritance in Classes Access Control Under Inheritance The Copy Constructor in a Derived Class Preventing Class Derivation Class Members as Friends Virtual Functions Casting Between Class Types Summary
Chapter 10: The Standard Template Library
What is the Standard Template Library? Smart Pointers Algorithms Function Objects in the STL Function Adapters The Range of STL Containers Sequence Containers Associative Containers More on Iterators More on Function Objects More on Algorithms Type Traits and Static Assertions Lambda Expressions Summary
Chapter 11: Windows Programming Concepts
Windows Programming Basics The Structure of a Windows Program The Microsoft Foundation Classes Summary
Chapter 12: Windows Programming with the Microsoft Foundation Classes (Mf C)
The Mfc Document/View Concept Creating Mfc Applications Summary
Chapter 13: Working with Menus and Toolbars
Communicating with Windows Extending the Sketcher Program Elements of a Menu Adding Menu Message Handlers Adding Toolbar Buttons Summary
Chapter 14: Drawing in a Window
Basics of Drawing in a Window The Mfc Drawing Mechanism Drawing Graphics in Practice Programming for the Mouse Drawing a Sketch Summary
Chapter 15: Improving the View
Sketcher Limitations Improving the View Deleting and Moving Elements Implementing a Context Menu Identifying an Element Under the Cursor Dealing with Masked Elements Summary
Chapter 16: 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 The C-string Class Using an Edit Box Control Summary
Chapter 17: Storing and Printing Documents
Understanding Serialization Applying Serialization Exercising Serialization Printing a Document Implementing Multipage Printing Summary
Chapter 18: Programming for Windows 8
Windows Store Applications Developing Windows Store Apps Windows Runtime Concepts C++ Component Extensions (C++/C) The Extensible Application Mark-up Language (Calm) Creating a Windows Store App Scaling Ui Elements Transitions Summary Index ISBN - 9788126550371
|
|
Pages : 956
|