Cpp-Primer icon indicating copy to clipboard operation
Cpp-Primer copied to clipboard

C++ Primer 5 answers

C++ Primer 5 Answers(C++11/14)

GitHub issues GitHub license

Compilers recommended

  • Windows: Visual Studio 2015+

  • Linux: g++ 5.0+

g++ -std=c++14 some_ex.cpp -o some_ex
  • Mac: clang++ 3.7+
clang++ -std=c++1y some_ex.cpp -o some_ex

Contents

  • Chapter 1. Getting Started
  • Part I: The Basics
    • Chapter 2. Variables and Basic Types
    • Chapter 3. Strings, Vectors, and Arrays
    • Chapter 4. Expressions
    • Chapter 5. Statements
    • Chapter 6. Functions
    • Chapter 7. Classes
  • Part II: The C++ Library
    • Chapter 8. The IO Library
    • Chapter 9. Sequential Containers
    • Chapter 10. Generic Algorithms
    • Chapter 11. Associative Containers
    • Chapter 12. Dynamic Memory
  • Part III: Tools for Class Authors
    • Chapter 13. Copy Control
    • Chapter 14. Overloaded Operations and Conversions
    • Chapter 15. Object-Oriented Programming
    • Chapter 16. Templates and Generic Programming
  • Part IV: Advanced Topics
    • Chapter 17. Specialized Library Facilities
    • Chapter 18. Tools for Large Programs
    • Chapter 19. Specialized Tools and Techniques