Apress Access

Exploring C++ 11

2nd Edition

By Ray Lischner

  • eBook Price: $41.99
Buy eBook Buy Print Book
Exploring C++ divides C++ up into bite-sized chunks that will help you learn the language one step at a time. Building up from first principles you’ll soon be creating sophisticated C++ applications of your own.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-6193-3
  • 656 Pages
  • User Level: Beginner to Intermediate
  • Publication Date: December 30, 2013
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Pro C# 5.0 and the .NET 4.5 Framework
  • Advanced Topics in C
  • Pointers in C
  • Managing Risk and Information Security
  • Expert C# 5.0
  • C++/CLI Primer
  • Beginning SQL Server R Services
  • Data Visualization in Excel 2016
  • Securing SQL Server
Full Description

Exploring C++ divides C++ up into bite-sized chunks that will help you learn the language one step at a time. Assuming no familiarity with C++, or any other C-based language, you’ll be taught everything you need to know in a logical progression of small lessons that you can work through as quickly or as slowly as you need.

C++ can be a complicated language. Writing even the most straight-forward of programs requires you to understand many disparate aspects of the language and how they interact with one another. C++ doesn't lend itself to neat compartmentalization the way other languages do. Rather than baffle you with complex chapters explaining functions, classes and statements in isolation we’ll focus on teaching you how to achieve results. By learning a little bit of this and a little of that you’ll soon have amassed enough knowledge to be writing non-trivial programs and will have built a solid foundation of experience that puts those previously baffling concepts into context.

In this fully-revised second edition of Exploring C++, you’ll learn how to use the standard library early in the book. Next, you’ll learn to work with operators, objects and data-sources in increasingly realistic situations. Finally, you’ll start putting the pieces together to create sophisticated programs of your own design confident that you’ve built a firm base of experience from which to grow.

What you’ll learn

  • Learn how to use C++ from first principles in a practical hands-on way.
  • Understand how to use Custom types, virtual functions and objects to structure your code
  • Build your own function templates, namespaces and containers from the ground up.
  • Put everything together to create sophisticated programs that work with pointers, dynamic memory and overloaded functions to achieve the results you want.

Who this book is for

Read this book if you want to learn C++ and have a basic understanding of how computer programs work. You don't need to know a C-based language before you start, but a basic understanding of how programs are structured is helpful.

Table of Contents

Table of Contents

  1. Part 1: The Basics - Honing your tools
  2. Part 1: The Basics -Reading C++ Code
  3. Part 1: The Basics -Integer Expressions
  4. Part 1: The Basics -Strings
  5. Part 1: The Basics -Simple Input
  6. Part 1: The Basics -Error Messages
  7. Part 1: The Basics -For Loops
  8. Part 1: The Basics -Formatted Output
  9. Part 1: The Basics -Arrays and Vectors
  10. Part 1: The Basics -Incrementand Decrement
  11. Part 1: The Basics -Conditions and Logic
  12. Part 1: The Basics -Compound Statements
  13. Part 1: The Basics -Introduction to File I/O
  14. Part 1: The Basics -The Map Data Structure
  15. Part 1: The Basics -Type Synonyms
  16. Part 1: The Basics -Characters
  17. Part 1: The Basics -Character Categories
  18. Part 1: The Basics -Case-Folding
  19. Part 1: The Basics -Writing Functions
  20. Part 1: The Basics -Function Arguments
  21. Part 1: The Basics -Using Algorithms
  22. Part 1: The Basics -Overloading Function Names
  23. Part 1: The Basics -Big and Little Numbers
  24. Part 1: The Basics -Very Big and Very Little Numbers
  25. Part 1: The Basics -Documentation
  26. Part 1: The Basics -Project1: Body-Mass Index
  27. Part 2: Custom Types - Custom Types
  28. Part 2: Custom Types - Overloading Operators
  29. Part 2: Custom Types - Custom I/O Operators
  30. Part 2: Custom Types - Assignment and Initialization
  31. Part 2: Custom Types - Writing Classes
  32. Part 2: Custom Types - More About Member Functions
  33. Part 2: Custom Types - Access Levels
  34. Part 2: Custom Types - Introduction to Object-Oriented Programming
  35. Part 2: Custom Types - Inheritance
  36. Part 2: Custom Types - Virtual Functions
  37. Part 2: Custom Types - Classes and Types
  38. Part 2: Custom Types - Declarations and Definitions
  39. Part 2: Custom Types - Using Multiple Source Files
  40. Part 2: Custom Types - Function Objects
  41. Part 2: Custom Types - Useful Algorithms
  42. Part 2: Custom Types - Iterators
  43. Part 2: Custom Types - Exceptions
  44. Part 2: Custom Types - More Operators
  45. Part 2: Custom Types - Project2: Fixed-point Numbers
  46. Part 3: Generic Programming - Function Templates
  47. Part 3: Generic Programming - Class Templates
  48. Part 3: Generic Programming - Template Specialization
  49. Part 3: Generic Programming - Partial Specialization
  50. Part 3: Generic Programming - Names and Namespaces
  51. Part 3: Generic Programming - Containers
  52. Part 3: Generic Programming - International Characters
  53. Part 3: Generic Programming - Locales and Facets
  54. Part 3: Generic Programming - TextI/O
  55. Part 3: Generic Programming - Project3: Currency Type
  56. Part 4: Real Programming - Pointers
  57. Part 4: Real Programming - Dynamic Memory
  58. Part 4: Real Programming - Exception-Safety
  59. Part 4: Real Programming - Old-Fashioned Arrays
  60. Part 4: Real Programming - SmartPointers
  61. Part 4: Real Programming - Working with Bits
  62. Part 4: Real Programming - Enumerations
  63. Part 4: Real Programming - Multiple Inheritance
  64. Part 4: Real Programming - Traits and Policies
  65. Part 4: Real Programming - Names and Templates
  66. Part 4: Real Programming - Overloaded Functions
  67. Part 4: Real Programming - Metaprogramming
  68. Part 4: Real Programming - Project4: Calculator
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. Modern X86 Assembly Language Programming


      View Book

    2. C++ 2013 for C# Developers


      View Book

    3. Pro Visual C++/CLI and the .NET 2.0 Platform


      View Book

    4. Advanced C and C++ Compiling


      View Book