CppPrimer
CppPrimer copied to clipboard
:books: C++ Primer 5 exercise answers.
##C++ Primer 5 Answers
Note
- Use
-std=c++11
(optional:-pedantic -Wall
) flag when compiling.(or you can use Visual Studio 2012+) - If you found any bug, please let me know, thanks.
- I have downloaded the headers from this book's web site and put them in the
include
folder. - In order to test the program in an efficient way, I also put the test data file in the
data
folder.
How to contribute
- Please fork(How?) this repository first.
- Commit(How?) in your own repository.
- Give me a pull request(How?).
- Syncing with(How?) the origin repository. This is very important because this repo updates frequently.
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