Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

CppPrimer

> DevOps
Open source

:books: Solutions for C++ Primer 5th exercises.

3.4K stars0 likes0 views
WebsiteGitHub

About

:books: Solutions for C++ Primer 5th exercises.

Solutions for C++ Primer 5th Answers

Notes

  • Use GCC 4.9+, Clang 3.4+, MSVC 14+, and others.
  • Use -std=c++11(recommend: -pedantic -Wall) flag for compiling.
  • Have you discovered incorrect information? Submit.

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

Contributions

GitHub Issues· 41 open

View all on GitHub
  • #218

    terminate called after throwing an instance of 'std::bad_alloc

    Updated Feb 21, 2024
  • #217

    Exercise 9.28(The loop may not stop)

    Updated Oct 12, 2023
  • #214

    Small modification for answer of Exercise 3.9 - mention `s` is a empty string

    Updated Nov 5, 2022
  • #213

    An error in exercise 16.28, in file <unique_pointer.h>

    Updated Oct 10, 2022
  • #211

    Bug report exercise 16.12

    Updated Oct 10, 2022
  • #174

    Exercise14.43: Confusion with the exercise description

    Updated Jun 18, 2022
  • #207

    #include<exception>

    Updated Dec 7, 2021
  • #163

    ex2.31

    Updated Nov 28, 2021
  • #206

    Ex.7.53 will not compile under the C++14 standard

    Updated Nov 25, 2021

Highlights

  • •Use GCC 4.9+, Clang 3.4+, MSVC 14+, and others.
  • •Use -std=c++11(recommend: -pedantic -Wall) flag for compiling.
  • •Have you discovered incorrect information? Submit.
  • •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

> Tags

C++c-plus-pluscpluspluscpp-primercpp11

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理