Ivor Horton's Beginning Visual C++ 2013


Learn C++ with the best tutorial on the market!

Horton's unique tutorial approach and step-by-step guidance have helped over 100,000 novice programmers learn C++. In Ivor Horton's Beginning Visual C++ 2013, Horton not only guides you through the fundamentals of the standard C++ language, but also teaches you how C++ is used in the latest Visual Studio 2013 environment. Visual Studio 2013 includes major changes to the IDE and expanded options for C++ coding. Ivor Horton's ...

See more details below
BN.com price
(Save 27%)$59.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (18) from $31.98   
  • New (17) from $31.98   
  • Used (1) from $44.80   
Ivor Horton's Beginning Visual C++ 2013

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
BN.com price
(Save 42%)$59.99 List Price


Learn C++ with the best tutorial on the market!

Horton's unique tutorial approach and step-by-step guidance have helped over 100,000 novice programmers learn C++. In Ivor Horton's Beginning Visual C++ 2013, Horton not only guides you through the fundamentals of the standard C++ language, but also teaches you how C++ is used in the latest Visual Studio 2013 environment. Visual Studio 2013 includes major changes to the IDE and expanded options for C++ coding. Ivor Horton's Beginning Visual C++ 2013 will teach you the latest techniques to take your Visual C++ coding to an all-new level.

  • C++ language and library changes supported under Visual Studio 2013
  • IDE-specific changes for code formatting and debugging
  • Changes to the C++ Standard Language for both C++ 11 and the new C++ 14
  • And more

Horton introduces you to both Standard C++ and Visual C++ so you can build any component your app requires. Ivor Horton's Beginning Visual C++ 2013 is an indispensable guidebook for any new programmer, and contains plenty of exercises and solutions to help programmers of any level master the important concepts quickly and easily.

Read More Show Less

Product Details

  • ISBN-13: 9781118845714
  • Publisher: Wiley
  • Publication date: 5/5/2014
  • Edition number: 1
  • Pages: 960
  • Sales rank: 325,137
  • Product dimensions: 7.40 (w) x 9.20 (h) x 1.80 (d)

Meet the Author

Ivor Horton is one of the preeminent authors of tutorialson the Java, C, and C++ programming languages. He is widely knownfor the tutorial style of his books, which provides step-by-stepguidance that is easily understood. His Beginning Visual C++books have sold more than 100,000 copies. Horton is also a systemsconsultant in private practice.

Read More Show Less

Table of Contents

Introduction xxxiii

Chapter 1: Programming with Visual C++ 1

Learning with Visual C++ 1

Writing C++ Applications 2

Learning Desktop Applications Programming 3

The Integrated Development Environment 6

Using the IDE 8

Summary 23

Chapter 2: Data, Variables, and Calculations 25

The Structure of a C++ Program 26

Defining Variables 38

Fundamental Data Types 40

Basic Input/Output Operations 47

Calculating in C++ 52

Type Conversion and Casting 63

The auto Keyword 65

Discovering Types 66

The Bitwise Operators 67

Introducing Lvalues and Rvalues 72

Understanding Storage Duration and Scope 72

Variables with Specific Sets of Values 79

Namespaces 83

Summary 86

Chapter 3: Decisions and Loops 91

Repeating a Block of Statements 109

Summary 127

Chapter 4: Arrays, Strings, and Pointers 129

Handling Multiple Data Values of the Same Type 129

Working with C-Style Strings 140

Indirect Data Access 146

Dynamic Memory Allocation 163

Using References 168

Library Functions for Strings 171

Summary 176

Chapter 5: Introducing Structure into Your Programs 179

Understanding Functions 179

Passing Arguments to a Function 188

Returning Values from a Function 206

Returning a Pointer 206

Recursive Function Calls 214

Summary 217

Chapter 6: More about Program Structure 221

Pointers to Functions 221

Initializing Function Parameters 228

Exceptions 229

Handling Memory Allocation Errors 235

Function Overloading 237

Function Templates 241

Using the decltype Operator 244

An Example Using Functions 246

Summary 264

Chapter 7: Defining Your Own Data Types 267

The struct in C++ 267

Types, Objects, Classes, and Instances 276

Understanding Classes 279

Class Constructors 287

Private Members of a Class 297

The Pointer this 304

Const Objects 306

Arrays of Objects 309

Static Members of a Class 310

Pointers and References to Objects 314

Summary 318

Chapter 8: More on Classes 323

Class Destructors 324

Implementing a Copy Constructor 329

Operator Overloading 331

The Object Copying Problem 351

Default Class Members 361

Class Templates 362

Perfect Forwarding 373

Default Arguments for Template Parameters 376

Aliases for Class Templates 381

Template Specialization 382

Using Classes 385

Organizing Your Program Code 403

Library Classes for Strings 405

Summary 427

Chapter 9: Class Inheritance and Virtual Functions 431

Object-Oriented Programming Basics 432

Inheritance in Classes 433

Access Control Under Inheritance 437

The Copy Constructor in a Derived Class 447

Preventing Class Derivation 450

Class Members as Friends 451

Virtual Functions 453

Casting Between Class Types 470

Summary 475

Chapter 10: The Standard Template Library 479

What Is the Standard Template Library? 479

Smart Pointers 485

Algorithms 488

Function Objects in the STL 489

Function Adapters 490

The Range of STL Containers 490

Sequence Containers 490

Associative Containers 543

More on Iterators 556

More on Function Objects 562

More on Algorithms 564

Type Traits and Static Assertions 566

Lambda Expressions 567

Summary 577

Chapter 11: Windows Programming Concepts 579

Windows Programming Basics 580

The Structure of a Windows Program 586

The Microsoft Foundation Classes 605

Summary 610

Chapter 12: Windows Programming with the Microsoft Foundation Classes (MF C) 613

The MFC Document/View Concept 614

Creating MFC Applications 618

Summary 635

Chapter 13: Working with Menus and Toolbars 637

Communicating with Windows 637

Extending the Sketcher Program 642

Elements of a Menu 643

Adding Menu Message Handlers 646

Adding Toolbar Buttons 656

Summary 660

Chapter 14: Drawing in a Window 663

Basics of Drawing in a Window 663

The MFC Drawing Mechanism 667

Drawing Graphics in Practice 678

Programming for the Mouse 680

Drawing a Sketch 709

Summary 713

Chapter 15: Improving the View 717

Sketcher Limitations 717

Improving the View 718

Deleting and Moving Elements 726

Implementing a Context Menu 726

Identifying an Element Under the Cursor 730

Dealing with Masked Elements 743

Summary 745

Chapter 16: Working with Dialogs and Controls 747

Understanding Dialogs 748

Understanding Controls 748

Creating a Dialog Resource 749

Programming for a Dialog 751

Supporting the Dialog Controls 755

Completing Dialog Operations 758

Using a Spin Button Control 763

Using the Scale Factor 769

Working with Status Bars 775

The CString Class 779

Using an Edit Box Control 780

Summary 790

Chapter 17: Storing and Printing Documents 793

Understanding Serialization 793

Applying Serialization 801

Exercising Serialization 809

Printing a Document 811

Implementing Multipage Printing 815

Summary 825

Chapter 18: Programming for Windows 8 827

Windows Store Applications 828

Developing Windows Store Apps 829

Windows Runtime Concepts 829

C++ Component Extensions (C++/CX) 831

The Extensible Application Markup Language (XAML) 836

Creating a Windows Store App 844

Scaling UI Elements 873

Transitions 875

Summary 879

Index 881

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)