Sams Teach Yourself C++ in One Hour a Day, 7th Edition
- Length: 768 pages
- Edition: 7
- Language: English
- Publisher: Sams
- Publication Date: 2012-05-20
- ISBN-10: 0672335670
- ISBN-13: 9780672335679
- Sales Rank: #839625 (See Top 100 Books)
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, this book 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
Siddhartha Rao is a Microsoft Most Valuable Professional (MVP) for Visual Studio — Visual C++ and has extensive experience in programming driver and application software on various platforms. Employed by SAP AG, he currently heads SAP Product Security India, where his responsibilities include defining the development best practices that keep SAP software secure and globally competitive.
Register your book at informit.com/register for access to source code, example files, updates, and corrections as they become available.
Table of Contents
PART I: The Basics
LESSON 1: Getting Started
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 Library
LESSON 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 Objects
LESSON 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 Pointers
LESSON 27: Using Streams for Input and Output
LESSON 28: Exception Handling
LESSON 29: Going Forward
APPENDIX A: Working with Numbers: Binary and Hexadecimal
APPENDIX B: C++ Keywords
APPENDIX C: Operator Precedence
APPENDIX D: Answers
APPENDIX E: ASCII Codes