#C++ Primer (第5版) 习题答案 ##C++ Primer (5th Edition) exercise answers.
- 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.
- Please fork(How?) this repository first.
- commit(How?) in your own repository.
- Give me a pull request(How?).
- 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
- Chapter 8. The IO Library
- Part II: The C++ 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
- Chapter 17. Specialized Library Facilities
- Chapter 18. Tools for Large Programs
- Chapter 19. Specialized Tools and Techniques