Master your Minecraft
 
 

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to PowellsBooks.news
for a chance to win.
Privacy Policy

Tour our stores


    Recently Viewed clear list


    Original Essays | November 7, 2014

    Carli Davidson: IMG Puppies for Sale? Read This First



    Shake Puppies contains an almost unsettling amount of cuteness. There is a good chance after looking through its pages you will get puppy fever and... Continue »

    spacer

Sams Teach Yourself C++ in One Hour a Day (Sams Teach Yourself)

by

Sams Teach Yourself C++ in One Hour a Day (Sams Teach Yourself) Cover

 

Synopses & Reviews

Publisher Comments:

Completely updated for the C++11 standard, Sams T each Yourself C ++ in One Hour a Day presents the language from a practical point of view, helping you learn how to use C++11 to create faster, simpler, and more efficient C++ applications.

  • Master the fundamentals of C++ and object-oriented programming
  • Understand how C++11 features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operators
  • Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applications
  • Test your knowledge and expertise using exercises at the end of every lesson

Learn on your own time, at your own pace:

  • No previous programming experience required
  • Learn C++11, object-oriented programming, and analysis
  • Write fast and powerful C++ programs, compile the source code with a gcc compiler, and create executable files
  • Use the Standard Template Library’s (STL) algorithms and containers to write feature-rich yet stable C++ applications
  • Develop sophisticated programming techniques using lambda expressions, smart pointers, and move constructors
  • Learn to expand your program’s power with inheritance and polymorphism
  • Master the features of C++ by learning from programming experts
  • Learn C++11 features that allow you to program compact and high-performance C++ applications
TABLE OF CONTENTS

PART I: THE BASICS

LESSON 1: Getting Started with C++11

A Brief History of C++

Programming a C++ Application

What's New in C++11

LESSON 2: The Anatomy of a C++ Program

Part of the Hello World Program

The Concept of Namespaces

Comments in C++ Code

Functions in C++

Basic Input Using std::cin and Output Using std::cout

LESSON 3: Using Variables, Declaring Constants

What Is a Variable?

Common Compiler-Supported C++ Variable Types

Determining the Size of a Variable Using sizeof

Using typedef to Substitute a Variable's Type

What Is a Constant?

Naming Variables and Constants

Keywords You Cannot Use as Variable or Constant Names

LESSON 4: Managing Arrays and Strings

What Is an Array?

Multidimensional Arrays

Dynamic Arrays

C-style Strings

C++ Strings: Using std::string

LESSON 5: Working with Expressions, Statements, and Operators

Statements

Compound Statements or Blocks

Using Operators

LESSON 6: Controlling Program Flow

Conditional Execution Using if … else

Getting Code to Execute in Loops

Modifying Loop Behavior Using continue and break

Programming Nested Loops

LESSON 7: Organizing Code with Functions

The Need for Functions

Using Functions to Work with Different Forms of Data

How Function Calls Are Handled by the Microprocessor

LESSON 8: Pointers and References Explained

What Is a Pointer?

Dynamic Memory Allocation

Common Programming Mistakes When Using Pointers

Pointer Programming Best-Practices

What Is a Reference?

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

LESSON 9: Classes and Objects

The Concept of Classes and Objects

Keywords public and private

Constructors

Destructor

Copy Constructor

Different Uses of Constructors and Destructor

this Pointer

sizeof() a Class

How struct Differs from class

Declaring a friend of a class

LESSON 10: Implementing Inheritance

Basics of Inheritance

Private Inheritance

Protected Inheritance

The Problem of Slicing

Multiple Inheritance

LESSON 11: Polymorphism

Basics of Polymorphism

Using virtual Inheritance to Solve the Diamond Problem

Virtual Copy Constructors?

LESSON 12: Operator Types and Operator Overloading

What Are Operators in C++?

Unary Operators

Binary Operators

Function Operator ()

Operators That Cannot Be Overloaded

LESSON 13: Casting Operators

The Need for Casting

Why C-Style Casts Are Not Popular with Some C++ Programmers

The C++ Casting Operators

Problems with the C++ Casting Operators

LESSON 14: An Introduction to Macros and Templates

The Preprocessor and the Compiler

Using #define Macros to Define Constants

Using #define To Write Macro Functions

An Introduction to Templates

PART III: LEARNING THE STANDARD TEMPLATE LIBRARY (STL)

LESSON 15: An Introduction to the Standard Template Library

STL Containers

STL Iterators

STL Algorithms

The Interaction Between Containers and Algorithms Using Iterators

STL String Classes

LESSON 16: The STL String Class

The Need for String Manipulation Classes

Working with the STL String Class

LESSON 17: STL Dynamic Array Classes

The Characteristics of std::vector

Typical Vector Operations

Understanding the Concepts of Size and Capacity

The STL deque Class

LESSON 18: STL list and forward_list

The Characteristics of a std::list

Basic list Operations

Reversing and Sorting Elements in a List

LESSON 19: STL Set Classes

An Introduction to STL Set Classes

Basic STL set and multiset Operations

Pros and Cons of Using STL set and multiset

LESSON 20: STL Map Classes

An Introduction to STL Map Classes

Basic std::map and std::multimap Operations

Supplying a Custom Sort Predicate

PART IV: MORE STL

LESSON 21: Understanding Function Objects

The Concept of Function Objects and Predicates

Typical Applications of Function Objects

LESSON 22: C++11 Lambda Expressions

What Is a Lambda Expression?

How to Define a Lambda Expression

Lambda Expression for a Unary Function

Lambda Expression for a Unary Predicate

Lambda Expression with State via Capture Lists

The Generic Syntax of Lambda Expressions

Lambda Expression for a Binary Function

Lambda Expression for a Binary Predicate

LESSON 23: STL Algorithms

What Are STL Algorithms?

Classification of STL Algorithms

Usage of STL Algorithms

LESSON 24: Adaptive Containers: Stack and Queue

The Behavioral Characteristics of Stacks and Queues

Using the STL stack Class

Using the STL queue Class

Using the STL Priority Queue

LESSON 25: Working with Bit Flags Using STL

The bitset Class

Using std::bitset and Its Members

The vector

PART V: ADVANCED C++ CONCEPTS

LESSON 26: Understanding Smart Pointers

What Are Smart Pointers?

How Are Smart Pointers Implemented?

Types of Smart Pointers

Popular Smart Pointer Libraries

LESSON 27: Using Streams for Input and Output

Concept of Streams

Important C++ Stream Classes and Objects

Using std::cout for Writing Formatted Data to Console

Using std::cin for Input

Using std::fstream for File Handling

Using std::stringstream for String Conversions

LESSON 28: Exception Handling

What Is an Exception?

What Causes Exceptions?

Implementing Exception Safety via try and catch

How Exception Handling Works

LESSON 29: Going Forward

What's Different in Today's Processors?

How to Better Use Multiple Cores

Writing Great C++ Code

Learning C++ Doesn't Stop Here!

APPENDIXES

A: Working with Numbers: Binary and Hexadecimal

B: C++ Keywords

C: Operator Precedence

D: Answers

E: ASCII Codes

Synopsis:

Learn C++ in Just One Hour a Day

Completely updated for the C++11 standard, Sams Teach Yourself C++ in One Hour a Day presents the language from a practical point of view, helping you learn how to use C++11 to create faster, simpler, and more efficient C++ applications.

  • Master the fundamentals of C++ and object-oriented programming
  • Understand how C++11 features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operators
  • Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applications
  • Test your knowledge and expertise using exercises at the end of every lesson

Learn on your own time, at your own pace:

  • No previous programming experience required
  • Learn C++11, object-oriented programming, and analysis
  • Write fast and powerful C++ programs, compile the source code with a gcc compiler, and create executable files
  • Use the Standard Template Library’s (STL) algorithms and containers to write feature-rich yet stable C++ applications
  • Develop sophisticated programming techniques using lambda expressions, smart pointers, and move constructors
  • Learn to expand your program’s power with inheritance and polymorphism
  • Master the features of C++ by learning from programming experts
  • Learn C++11 features that allow you to program compact and high-performance C++ applications
TABLE OF CONTENTS

PART I: THE BASICS

LESSON 1: Getting Started with C++11

LESSON 2: The Anatomy of a C++ Program

LESSON 3: Using Variables, Declaring Constants

LESSON 4: Managing Arrays and Strings

LESSON 5: Working with Expressions, Statements, and Operators

LESSON 6: Controlling Program Flow

LESSON 7: Organizing Code with Functions

LESSON 8: Pointers and References Explained

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

LESSON 9: Classes and Objects

LESSON 10: Implementing Inheritance

LESSON 11: Polymorphism

LESSON 12: Operator Types and Operator Overloading

LESSON 13: Casting Operators

LESSON 14: An Introduction to Macros and Templates

PART III: LEARNING THE STANDARD TEMPLATE LIBRARY (STL)

LESSON 15: An Introduction to the Standard Template LibraryLESSON 16: The STL String Class

LESSON 17: STL Dynamic Array Classes

LESSON 18: STL list and forward_list

LESSON 19: STL Set Classes

LESSON 20: STL Map Classes

PART IV: MORE STL

LESSON 21: Understanding Function ObjectsLESSON 22: C++11 Lambda Expressions

LESSON 23: STL Algorithms

LESSON 24: Adaptive Containers: Stack and Queue

LESSON 25: Working with Bit Flags Using STL

PART V: ADVANCED C++ CONCEPTS

LESSON 26: Understanding Smart PointersLESSON 27: Using Streams for Input and Output

LESSON 28: Exception Handling

LESSON 29: Going Forward

APPENDIXES

A: Working with Numbers: Binary and Hexadecimal

B: C++ Keywords

C: Operator Precedence

D: Answers

E: ASCII Codes

Synopsis:

Learn C++ in Just One Hour a Day!

In just one hour a day, you’ll have all the skills you need to begin programming in C++. With this complete tutorial, you’ll quickly master the basics, and then move on to more advanced features and concepts.

Completely updated for the C++11 standard, Sams Teach Yourself C++ in One Hour a Day — the seventh edition of Sams Teach Yourself C++ in 21 Days — presents the language from a practical point of view, helping you learn how to use C++11 to create faster, simpler, and more efficient C++ applications.

  • Master the fundamentals of C++ and object-oriented programming
  • Understand how C++11 features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operators
  • Learn best practices and avoid pitfalls via useful Do’s and Don’ts
  • Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applications
  • Test your knowledge and expertise using exercises at the end of every lesson

Learn on your own time, at your own pace:

  • No previous programming experience required
  • Learn C++11, object-oriented programming, and analysis
  • Write fast and powerful C++ programs, compile the source code, and create executable files
  • Use the Standard Template Library’s algorithms and containers to write feature-rich yet stable C++ applications
  • Develop sophisticated programming techniques using lambda expressions, smart pointers, and move constructors
  • Learn to expand your program’s power with inheritance and polymorphism
  • Master the features of C++ by learning from programming experts
  • Learn C++11 features that allow you to program compact and high-performance C++ applications

About the Author

Siddhartha Rao is a technologist at SAP AG, the world’s leading supplier of enterprise software. As the head of SAP Product Security India, his primary responsibilities include hiring expert talent in the area of product security as well as defining development best practices that keeps SAP software globally competitive. Awarded Most Valuable Professional by Microsoft for Visual Studio–Visual C++, he is convinced that C++11 will help you program faster, simpler, and more efficient C++ applications.

 

Siddhartha also loves traveling and discovering new cultures given an opportunity to. For instance, parts of this book have been composed facing the Atlantic Ocean at a quaint village called Plogoff in Brittany, France—one of the four countries this book was authored in. He looks forward to your feedback on this global effort!

Table of Contents

Part 1: Digging Into the Core Language Features

1. Getting Started

2. Anatomy of a C++ Program

3. Using Variables and Constants

4. Managing Strings and Arrays

5. Working Expressions, Statements and Operators

6. Organizing Code with Functions

7. Controlling Program Flow

8. Exploring Pointers

9. Understanding References

Part 2: Fundamentals of OOP and C++

10. Classes and Objects

11. Implementing Inheritance

12. Polymorphism

13. Operator Types and Operator Overloading

14. Casting Operators

15. An Introduction to Macros and Templates

Part 3: Learning the Standard Template Library (STL)

16. An Introduction to the Standard Template Library

17. The STL String Class

18. STL Dynamic Array Classes

19. STL List

20. STL Set and Multiset

21. STL Map and Multimap

Part 4: More STL

22. Understanding Function Objects

23. STL Algorithms

24. Adaptive Containers: Stack and Queue

25. Working with Bit Flags Using STL

Part 5: Advanced C++

26. Understanding Smart Pointers

27. Working with Streams

28. Exception Handling

29. Tapping Further into the Preprocessor

30. Preparing for C++0x

Appendixes

A. Working with Numbers: Binary and Hexadecimal

B. C++ Keywords

C. Operator Precedence

D. Quiz Answers

 

Product Details

ISBN:
9780672335679
Author:
Rao, Siddhartha
Publisher:
Sams Publishing
Author:
Liberty, Jesse
Subject:
Computer Languages-C++
Subject:
Programming Languages - C
Subject:
C++11;C++;tutorial;learn;primer;programming;21 Days;OOP;object-oriented programming;STL;Standard Template Library;C++ for Dummies;Head First C++;inheritance;polymorphism;
Copyright:
Edition Description:
Trade paper
Series:
Sams Teach Yourself
Publication Date:
20120515
Binding:
TRADE PAPER
Language:
English
Pages:
768
Dimensions:
9 x 7 x 1.7 in 1166 gr

Other books you might like

  1. Code Talker: A Novel about the...
    Used Trade Paper $5.50
  2. Ascendance Trilogy #01: The False Prince
    Used Trade Paper $4.95
  3. The Lonely Polygamist
    Used Trade Paper $4.50
  4. The Blood of Olympus (The Heroes of...
    Used Hardcover $13.95
  5. The Mark of Athena (Heroes of...
    Used Hardcover $6.95
  6. The Third Wheel (Diary of a Wimpy...
    Used Hardcover $8.95

Related Subjects

Arts and Entertainment » Architecture » Urban Planning
Computers and Internet » Computer Languages » C++

Sams Teach Yourself C++ in One Hour a Day (Sams Teach Yourself) New Trade Paper
0 stars - 0 reviews
$44.99 In Stock
Product details 768 pages Sams - English 9780672335679 Reviews:
"Synopsis" by , Learn C++ in Just One Hour a Day

Completely updated for the C++11 standard, Sams Teach Yourself C++ in One Hour a Day presents the language from a practical point of view, helping you learn how to use C++11 to create faster, simpler, and more efficient C++ applications.

  • Master the fundamentals of C++ and object-oriented programming
  • Understand how C++11 features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operators
  • Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applications
  • Test your knowledge and expertise using exercises at the end of every lesson

Learn on your own time, at your own pace:

  • No previous programming experience required
  • Learn C++11, object-oriented programming, and analysis
  • Write fast and powerful C++ programs, compile the source code with a gcc compiler, and create executable files
  • Use the Standard Template Library’s (STL) algorithms and containers to write feature-rich yet stable C++ applications
  • Develop sophisticated programming techniques using lambda expressions, smart pointers, and move constructors
  • Learn to expand your program’s power with inheritance and polymorphism
  • Master the features of C++ by learning from programming experts
  • Learn C++11 features that allow you to program compact and high-performance C++ applications
TABLE OF CONTENTS

PART I: THE BASICS

LESSON 1: Getting Started with C++11

LESSON 2: The Anatomy of a C++ Program

LESSON 3: Using Variables, Declaring Constants

LESSON 4: Managing Arrays and Strings

LESSON 5: Working with Expressions, Statements, and Operators

LESSON 6: Controlling Program Flow

LESSON 7: Organizing Code with Functions

LESSON 8: Pointers and References Explained

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

LESSON 9: Classes and Objects

LESSON 10: Implementing Inheritance

LESSON 11: Polymorphism

LESSON 12: Operator Types and Operator Overloading

LESSON 13: Casting Operators

LESSON 14: An Introduction to Macros and Templates

PART III: LEARNING THE STANDARD TEMPLATE LIBRARY (STL)

LESSON 15: An Introduction to the Standard Template LibraryLESSON 16: The STL String Class

LESSON 17: STL Dynamic Array Classes

LESSON 18: STL list and forward_list

LESSON 19: STL Set Classes

LESSON 20: STL Map Classes

PART IV: MORE STL

LESSON 21: Understanding Function ObjectsLESSON 22: C++11 Lambda Expressions

LESSON 23: STL Algorithms

LESSON 24: Adaptive Containers: Stack and Queue

LESSON 25: Working with Bit Flags Using STL

PART V: ADVANCED C++ CONCEPTS

LESSON 26: Understanding Smart PointersLESSON 27: Using Streams for Input and Output

LESSON 28: Exception Handling

LESSON 29: Going Forward

APPENDIXES

A: Working with Numbers: Binary and Hexadecimal

B: C++ Keywords

C: Operator Precedence

D: Answers

E: ASCII Codes

"Synopsis" by ,

Learn C++ in Just One Hour a Day!

In just one hour a day, you’ll have all the skills you need to begin programming in C++. With this complete tutorial, you’ll quickly master the basics, and then move on to more advanced features and concepts.

Completely updated for the C++11 standard, Sams Teach Yourself C++ in One Hour a Day — the seventh edition of Sams Teach Yourself C++ in 21 Days — presents the language from a practical point of view, helping you learn how to use C++11 to create faster, simpler, and more efficient C++ applications.

  • Master the fundamentals of C++ and object-oriented programming
  • Understand how C++11 features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operators
  • Learn best practices and avoid pitfalls via useful Do’s and Don’ts
  • Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applications
  • Test your knowledge and expertise using exercises at the end of every lesson

Learn on your own time, at your own pace:

  • No previous programming experience required
  • Learn C++11, object-oriented programming, and analysis
  • Write fast and powerful C++ programs, compile the source code, and create executable files
  • Use the Standard Template Library’s algorithms and containers to write feature-rich yet stable C++ applications
  • Develop sophisticated programming techniques using lambda expressions, smart pointers, and move constructors
  • Learn to expand your program’s power with inheritance and polymorphism
  • Master the features of C++ by learning from programming experts
  • Learn C++11 features that allow you to program compact and high-performance C++ applications

spacer
spacer
  • back to top

FOLLOW US ON...

     
Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.