ISBN 9788126550371,Ivor Horton's Beginning Visual C++ 2013

Ivor Horton's Beginning Visual C++ 2013


Ivor Horton



Wiley India Pvt Ltd

Publication Year 2014

ISBN 9788126550371

ISBN-10 8126550376


Number of Pages 436 Pages
Language (English)

Computer programming

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%) 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 features: In addition, the following are supported in the VS 2013 RTM: -C++ 11 ralue / lvalue casting rules -Alias templates -Defaulted functions -Deleted functions -Non-static data member initializers Plus support for new C++ 14 STL features Was this product information helpful? Yes No TABLE OF CONTENTS Introduction Chapter 1: Programming with Visual C++ Learning with Visual C++ Writing C++ Applications Learning Desktop Applications Programming 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 6: More about Program Structure Pointers to Functions Initializing Function Parameters Exceptions Handling Memory Allocation Errors Function Overloading Function Templates Using the decltype Operator An Example Using Functions Summary Chapter 7: Defining Your Own Data Types The struct 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 CString 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++/CX) The Extensible Application Markup Language (XAML) Creating a Windows Store App Scaling UI Elements Transitions Summary