|
1 |
| -The answers for c++ primer 5. |
2 |
| -wish it can help you. |
| 1 | +###C++ Primer 5 Answers(C++11) |
| 2 | + |
| 3 | +### Compilers recommended |
| 4 | +* Linux: g++ 5.0+ |
| 5 | +```python |
| 6 | +g++ -std=c++11 some_ex.cpp -o some_ex |
| 7 | +``` |
| 8 | + |
| 9 | +* Mac: clang++ 3.7+ |
| 10 | +```python |
| 11 | +clang++ -std=c++1y some_ex.cpp -o some_ex |
| 12 | +``` |
| 13 | + |
| 14 | +### Contents |
| 15 | + |
| 16 | +- [Chapter 1. Getting Started] |
| 17 | +- Part I: The Basics |
| 18 | +- [Chapter 2. Variables and Basic Types] |
| 19 | +- [Chapter 3. Strings, Vectors, and Arrays](3) |
| 20 | +- [Chapter 4. Expressions](4) |
| 21 | +- [Chapter 5. Statements](5) |
| 22 | +- [Chapter 6. Functions](6) |
| 23 | +- [Chapter 7. Classes](7) |
| 24 | +- Part II: The C++ Library |
| 25 | +- [Chapter 8. The IO Library](8) |
| 26 | +- [Chapter 9. Sequential Containers](9) |
| 27 | +- [Chapter 10. Generic Algorithms](10) |
| 28 | +- [Chapter 11. Associative Containers](11) |
| 29 | +- [Chapter 12. Dynamic Memory](12) |
| 30 | +- Part III: Tools for Class Authors |
| 31 | +- [Chapter 13. Copy Control](13) |
| 32 | +- [Chapter 14. Overloaded Operations and Conversions](14) |
| 33 | +- [Chapter 15. Object-Oriented Programming](15) |
| 34 | +- [Chapter 16. Templates and Generic Programming](16) |
| 35 | +- Part IV: Advanced Topics |
| 36 | +- [Chapter 17. Specialized Library Facilities] |
| 37 | +- [Chapter 18. Tools for Large Programs] |
| 38 | +- [Chapter 19. Specialized Tools and Techniques] |
0 commit comments