Details

Ivor Horton's Beginning Visual C++ 2013


Ivor Horton's Beginning Visual C++ 2013


1. Aufl.

von: Ivor Horton

39,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 11.04.2014
ISBN/EAN: 9781118845684
Sprache: englisch
Anzahl Seiten: 960

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<b>Learn C++ with the best tutorial on the market!</b> <p>Horton's unique tutorial approach and step-by-step guidance have helped over 100,000 novice programmers learn C++. In <i>Ivor Horton's Beginning Visual C++ 2013</i>, 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. <i>Ivor Horton's Beginning Visual C++ 2013</i> will teach you the latest techniques to take your Visual C++ coding to an all-new level.</p> <ul> <li>C++ language and library changes supported under Visual Studio 2013</li> <li>IDE-specific changes for code formatting and debugging</li> <li>Changes to the C++ Standard Language for both C++ 11 and the new C++ 14</li> <li>And more</li> </ul> <p>Horton introduces you to both Standard C++ and Visual C++ so you can build any component your app requires. <i>Ivor Horton's Beginning Visual C++ 2013</i> 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.</p>
<p>Introduction xxxiii</p> <p><b>Chapter 1: Programming with Visual C++ 1</b></p> <p>Learning with Visual C++ 1</p> <p>Writing C++ Applications 2</p> <p>Learning Desktop Applications Programming 3</p> <p>The Integrated Development Environment 6</p> <p>Using the IDE 8</p> <p>Summary 23</p> <p><b>Chapter 2: Data, Variables, and Calculations 25</b></p> <p>The Structure of a C++ Program 26</p> <p>Defining Variables 38</p> <p>Fundamental Data Types 40</p> <p>Basic Input/Output Operations 47</p> <p>Calculating in C++ 52</p> <p>Type Conversion and Casting 63</p> <p>The auto Keyword 65</p> <p>Discovering Types 66</p> <p>The Bitwise Operators 67</p> <p>Introducing Lvalues and Rvalues 72</p> <p>Understanding Storage Duration and Scope 72</p> <p>Variables with Specific Sets of Values 79</p> <p>Namespaces 83</p> <p>Summary 86</p> <p><b>Chapter 3: Decisions and Loops 91</b></p> <p>Repeating a Block of Statements 109</p> <p>Summary 127</p> <p><b>Chapter 4: Arrays, Strings, and Pointers 129</b></p> <p>Handling Multiple Data Values of the Same Type 129</p> <p>Working with C-Style Strings 140</p> <p>Indirect Data Access 146</p> <p>Dynamic Memory Allocation 163</p> <p>Using References 168</p> <p>Library Functions for Strings 171</p> <p>Summary 176</p> <p><b>Chapter 5: Introducing Structure into Your Programs 179</b></p> <p>Understanding Functions 179</p> <p>Passing Arguments to a Function 188</p> <p>Returning Values from a Function 206</p> <p>Returning a Pointer 206</p> <p>Recursive Function Calls 214</p> <p>Summary 217</p> <p><b>Chapter 6: More about Program Structure 221</b></p> <p>Pointers to Functions 221</p> <p>Initializing Function Parameters 228</p> <p>Exceptions 229</p> <p>Handling Memory Allocation Errors 235</p> <p>Function Overloading 237</p> <p>Function Templates 241</p> <p>Using the decltype Operator 244</p> <p>An Example Using Functions 246</p> <p>Summary 264</p> <p><b>Chapter 7: Defining Your Own Data Types 267</b></p> <p>The struct in C++ 267</p> <p>Types, Objects, Classes, and Instances 276</p> <p>Understanding Classes 279</p> <p>Class Constructors 287</p> <p>Private Members of a Class 297</p> <p>The Pointer this 304</p> <p>Const Objects 306</p> <p>Arrays of Objects 309</p> <p>Static Members of a Class 310</p> <p>Pointers and References to Objects 314</p> <p>Summary 318</p> <p><b>Chapter 8: More on Classes 323</b></p> <p>Class Destructors 324</p> <p>Implementing a Copy Constructor 329</p> <p>Operator Overloading 331</p> <p>The Object Copying Problem 351</p> <p>Default Class Members 361</p> <p>Class Templates 362</p> <p>Perfect Forwarding 373</p> <p>Default Arguments for Template Parameters 376</p> <p>Aliases for Class Templates 381</p> <p>Template Specialization 382</p> <p>Using Classes 385</p> <p>Organizing Your Program Code 403</p> <p>Library Classes for Strings 405</p> <p>Summary 427</p> <p><b>Chapter 9: Class Inheritance and Virtual Functions 431</b></p> <p>Object-Oriented Programming Basics 432</p> <p>Inheritance in Classes 433</p> <p>Access Control Under Inheritance 437</p> <p>The Copy Constructor in a Derived Class 447</p> <p>Preventing Class Derivation 450</p> <p>Class Members as Friends 451</p> <p>Virtual Functions 453</p> <p>Casting Between Class Types 470</p> <p>Summary 475</p> <p><b>Chapter 10: The Standard Template Library 479</b></p> <p>What Is the Standard Template Library? 479</p> <p>Smart Pointers 485</p> <p>Algorithms 488</p> <p>Function Objects in the STL 489</p> <p>Function Adapters 490</p> <p>The Range of STL Containers 490</p> <p>Sequence Containers 490</p> <p>Associative Containers 543</p> <p>More on Iterators 556</p> <p>More on Function Objects 562</p> <p>More on Algorithms 564</p> <p>Type Traits and Static Assertions 566</p> <p>Lambda Expressions 567</p> <p>Summary 577</p> <p><b>Chapter 11: Windows Programming Concepts 579</b></p> <p>Windows Programming Basics 580</p> <p>The Structure of a Windows Program 586</p> <p>The Microsoft Foundation Classes 605</p> <p>Summary 610</p> <p><b>Chapter 12: Windows Programming with the Microsoft Foundation Classes (MF C) 613</b></p> <p>The MFC Document/View Concept 614</p> <p>Creating MFC Applications 618</p> <p>Summary 635</p> <p><b>Chapter 13: Working with Menus and Toolbars 637</b></p> <p>Communicating with Windows 637</p> <p>Extending the Sketcher Program 642</p> <p>Elements of a Menu 643</p> <p>Adding Menu Message Handlers 646</p> <p>Adding Toolbar Buttons 656</p> <p>Summary 660</p> <p><b>Chapter 14: Drawing in a Window 663</b></p> <p>Basics of Drawing in a Window 663</p> <p>The MFC Drawing Mechanism 667</p> <p>Drawing Graphics in Practice 678</p> <p>Programming for the Mouse 680</p> <p>Drawing a Sketch 709</p> <p>Summary 713</p> <p><b>Chapter 15: Improving the View 717</b></p> <p>Sketcher Limitations 717</p> <p>Improving the View 718</p> <p>Deleting and Moving Elements 726</p> <p>Implementing a Context Menu 726</p> <p>Identifying an Element Under the Cursor 730</p> <p>Dealing with Masked Elements 743</p> <p>Summary 745</p> <p><b>Chapter 16: Working with Dialogs and Controls 747</b></p> <p>Understanding Dialogs 748</p> <p>Understanding Controls 748</p> <p>Creating a Dialog Resource 749</p> <p>Programming for a Dialog 751</p> <p>Supporting the Dialog Controls 755</p> <p>Completing Dialog Operations 758</p> <p>Using a Spin Button Control 763</p> <p>Using the Scale Factor 769</p> <p>Working with Status Bars 775</p> <p>The CString Class 779</p> <p>Using an Edit Box Control 780</p> <p>Summary 790</p> <p><b>Chapter 17: Storing and Printing Documents 793</b></p> <p>Understanding Serialization 793</p> <p>Applying Serialization 801</p> <p>Exercising Serialization 809</p> <p>Printing a Document 811</p> <p>Implementing Multipage Printing 815</p> <p>Summary 825</p> <p><b>Chapter 18: Programming for Windows 8 827</b></p> <p>Windows Store Applications 828</p> <p>Developing Windows Store Apps 829</p> <p>Windows Runtime Concepts 829</p> <p>C++ Component Extensions (C++/CX) 831</p> <p>The Extensible Application Markup Language (XAML) 836</p> <p>Creating a Windows Store App 844</p> <p>Scaling UI Elements 873</p> <p>Transitions 875</p> <p>Summary 879</p> <p>Index 881</p>
<p><b>Ivor Horton</b> is one of the preeminent authors of tutorials on the Java, C, and C++ programming languages. He is widely known for the tutorial style of his books, which provides step-by-step guidance that is easily understood. His <i>Beginning Visual C++</i> books have sold more than 100,000 copies. Horton is also a systems consultant in private practice.</p>
<p><b>Learn C++ Programming—and Visual C++ 2013—the faster, easier way</b></p> <p>This latest edition of the bestselling book on the C++ language follows the proven approach that has made all of Ivor Horton’s C++ books so popular. Horton provides a comprehensive introduction to both the Standard C++ language, and to Visual C++. The book—thoroughly updated for the 2013 release—shows readers 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.</p> <p><i>Ivor Horton’s Beginning Visual C++ 2013:</i></p> <ul> <li>Introduces basic C++ programming concepts and the main ideas embodied in the Visual C++ development environment</li> <li>Explains the C++ language from simple procedural programs to classes and object-oriented programming</li> <li>Demonstrates how to apply the Standard Template Library (STL) in a wide range of contexts</li> <li>Reveals the essential elements present in every Windows desktop application</li> <li>Shows how to write Windows applications using the MFC for building a graphical user interface</li> <li>Shows how you develop Windows Store apps through a working example of a game that executes under Windows<sup>®</sup> 8</li> </ul> <p><b>Wrox Beginning guides</b> are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.</p> <p><b>Programmer Forums</b></p> <p>Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.</p> <p><b>Code Downloads</b></p> <p>Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.</p> <p><b>Read More</b></p> <p>Find articles, e-books, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.</p>

Diese Produkte könnten Sie auch interessieren:

Domain Architectures
Domain Architectures
von: Daniel J. Duffy
PDF ebook
31,99 €