/Cpp-Primer-5th-Solutions

Solutions for C++ Primer 5th edition exercises

Primary LanguageC++OtherNOASSERTION

Introduction

Personal solutions for C++ Primer 5th edition exercises, basically cover the 95% exercise. Only some ambiguous and superfluous ones has been left. All the source codes and answers were put into the markdown file. For each chapter and its exercises, only use the actual knowledge and skill, so there won't be any advance abilities requirement for present code. Also, some header files and data could be found in the corresponding directory.

Limitations

  • Comments and answers(statement without code) are written by Chinese Simplified, so if you are unfamiliar with it, you may need to find some other solutions that fits your language.(Or see the Recommendations)
  • There won't be any instructions for the knowledge from book, if you puzzled, you should jump into the communities(like Stack Overflow) to solve your problem, or just review the books.

Compiler Requirements

  • GCC 4.9+
  • Clang 3.4+
  • MSVC 18.0+

(Details and others see here)

Table of Contents

Contribution

If you have better solution for any solved exercise, or reasonable answer for any unsolved exercise, it is welcome to open an issue or pull requests. The contributed information would be added if you demand.

License

CC BY-NC-SA 4.0

Recommendations