By Siddhartha Rao

Learn C++ in precisely One Hour a Day

Completely up-to-date for the C++11 normal, Sams educate your self C++ in a single Hour an afternoon presents the language from a realistic perspective, aiding you methods to use C++11 to create swifter, less complicated, and extra effective C++ functions.

  • Master the basics of C++ and object-oriented programming
  • Understand how C++11 good points assist you write compact and effective code utilizing techniques resembling lambda expressions, circulate constructors, and task operators
  • Learn the normal Template Library, together with boxes and algorithms utilized in such a lot real-world C++ purposes
  • Test your wisdom and services utilizing workouts on the finish of each lesson

Learn by yourself time, at your personal velocity:

  • No earlier programming adventure required
  • Learn C++11, object-oriented programming, and research
  • Write quickly and strong C++ courses, collect the resource code with a gcc compiler, and create executable documents
  • Use the traditional Template Library’s (STL) algorithms and packing containers to write down feature-rich but good C++ purposes
  • Develop subtle programming thoughts utilizing lambda expressions, clever guidelines, and stream constructors
  • Learn to extend your program’s strength with inheritance and polymorphism
  • Master the gains of C++ by means of studying from programming specialists
  • Learn C++11 positive factors that let you software compact and high-performance C++ applications

TABLE OF CONTENTS

PART I: THE BASICS

LESSON 1: Getting began with C++11

LESSON 2: The Anatomy of a C++ Program

LESSON three: utilizing Variables, stating Constants

LESSON four: coping with Arrays and Strings

LESSON five: operating with Expressions, Statements, and Operators

LESSON 6: Controlling software Flow

LESSON 7: Organizing Code with services

LESSON eight: guidelines and References Explained

PART II: basics OF OBJECT-ORIENTED C++ PROGRAMMING

LESSON nine: sessions and Objects

LESSON 10: enforcing Inheritance

LESSON eleven: Polymorphism

LESSON 12: Operator kinds and Operator Overloading

LESSON thirteen: Casting Operators

LESSON 14: An creation to Macros and Templates

PART III: studying the traditional TEMPLATE LIBRARY (STL)

LESSON 15: An creation to the normal Template Library

LESSON sixteen: The STL String Class
LESSON 17: STL Dynamic Array Classes
LESSON 18: STL checklist and forward_list
LESSON 19: STL Set Classes
LESSON 20: STL Map Classes

PART IV: extra STL

LESSON 21: realizing functionality Objects

LESSON 22: C++11 Lambda Expressions
LESSON 23: STL Algorithms
LESSON 24: Adaptive boxes: Stack and Queue
LESSON 25: operating with Bit Flags utilizing STL

PART V: complex C++ CONCEPTS

LESSON 26: knowing shrewdpermanent Pointers

LESSON 27: utilizing Streams for enter and Output
LESSON 28: Exception Handling
LESSON 29: Going Forward

APPENDIXES

A: operating with Numbers: Binary and Hexadecimal

B: C++ Keywords

C: Operator Precedence

D: Answers

E: ASCII Codes

Show description

Read or Download Sams Teach Yourself C++ in One Hour a Day (7th Edition) PDF

Best Programming books

Embedded C

For those who are approximately to put in writing their first embedded application - or were suffering to benefit approximately this significant zone - this publication will retailer weeks of attempt.

Cocoa Design Patterns

“Next time a few child indicates up at my door inquiring for a code assessment, this can be the booklet that i'm going to throw at him. ”   –Aaron Hillegass, founding father of monstrous Nerd Ranch, Inc. , and writer of Cocoa Programming for Mac OS X   Unlocking the secrets and techniques of Cocoa and Its Object-Oriented Frameworks   Mac and iPhone builders are usually beaten via the breadth and class of the Cocoa frameworks.

C++ Primer (5th Edition)

Bestselling Programming educational and Reference thoroughly Rewritten for the hot C++11 usual   absolutely up to date and recast for the newly published C++11 typical, this authoritative and entire advent to C++ may help you to benefit the language quickly, and to exploit it in glossy, powerful methods.

Operating System Concepts

Preserve speed with the fast-developing international of working structures Open-source working structures, digital machines, and clustered computing are one of the top fields of working platforms and networking which are swiftly altering. With huge revisions and organizational adjustments, Silberschatz, Galvin, and Gagne’s working procedure thoughts, 8th version is still as present and appropriate as ever, aiding you grasp the basic strategies of working structures whereas getting ready your self for today’s rising advancements.

Extra resources for Sams Teach Yourself C++ in One Hour a Day (7th Edition)

Show sample text content

638 precis . ............................................................................................................................................................................................ 640 Q&A. ....................................................................................................................................................................................................... 640 Workshop . ........................................................................................................................................................................................ 641 Contents LESSON 28: Exception dealing with 643 what's an Exception? . ........................................................................................................................................................... 644 What motives Exceptions? . .................................................................................................................................................... 644 imposing Exception safeguard through attempt to capture . .......................................................................................... 645 utilizing catch(... ) to address All Exceptions . .............................................................................................. 645 Catching Exception of a kind . ........................................................................................................................... 647 Throwing Exception of a sort utilizing throw How Exception dealing with Works type std::exception . ....................................................................................... 648 . .................................................................................................................................. 650 . ................................................................................................................................................ 652 Your customized Exception classification Derived from std::exception . ................................................... 653 precis . ............................................................................................................................................................................................ 655 Q&A. ....................................................................................................................................................................................................... 656 Workshop . ........................................................................................................................................................................................ 656 LESSON 29: Going ahead 659 What’s varied in Today’s Processors? how you can higher Use a number of Cores what's a Thread? . ................................................................................................................ 660 . ...............................................................................................................................

Rated 4.03 of 5 – based on 12 votes