Description
Book SynopsisLearn the C++ programming language in a structured, straightforward, and friendly manner. This book teaches the basics of the modern C++ programming language, the C++ Standard Library, and modern C++ standards, including C++23. No previous programming experience is required.
C++ is a language like no other, surprising in its complexity, yet wonderfully sleek and elegant in so many ways. It is also a language that cannot be learned by guessing, one that is easy to get wrong and challenging to get right. To overcome this, each section is filled with real-world examples that gradually increase in complexity. Modern C++ for Absolute Beginners, Second Edition teaches more than just programming in C++23. It provides a solid C++ foundation to build upon.
The author takes you through the C++ programming language, the Standard Library, and C++11 to C++23 standard basics. Each chapter is accompanied by the right amount of
Table of Contents
1. Introduction2. What is C++?3. C++ Compilers4. Our First Program5. Types6. Exercises7. Operators8. Standard Input9. Exercises10. Arrays11. Pointers12. References13. Introduction to Strings 14. Automatic Type Deduction15. Exercises16. Statements17. Constants18. Exercises19. Functions20. Exercises21. Scope and Lifetime22. Exercises23. Classes - Introduction24. Exercises25. Classes – Inheritance and Polymorphism26. Exercises27. The static Specifier28. Templates29. Enumerations30. Exercises
31. Organizing code32. Exercises33. Conversions34. Exceptions35. Smart Pointers36. Exercises37. Input/Output Streams38. C++ Standard Library and Friends39. Exercises40. C++ Standards41. Projects