- ホーム
- > 洋書
- > 英文書
- > Computer / Languages
Full Description
Ready to learn programming with less effort and more fun? Then do it the lazy way! C++26 for Lazy Programmers uses humor and fun to make you actually willing to read and eager to do the projects as you master the popular and powerful C++ language.
Along the way it introduces features from the new C++26 standard including increased support for compile-time computation with constexpr and static_assert, as well as contracts, and covers ranges, views, move semantics, format strings, smart pointers, lambda functions and concepts (template parameter requirements), and provides brief introductions to coroutines and lazy evaluation.
With this unique method, you'll stretch your abilities with a variety of projects, including your own C++ arcade game. You'll construct your own classes, templates, and abstract data types. After reading and using this book you'll be ready to build real-world C++ applications and game projects on your own.
What You Will Learn:
Explore the brand-new C++26 standard
Navigate graphics and games using SDL and SSDL wrapper
Use common C++ compilers and their debuggers
Apply "anti-bugging" techniques to fix common issues
Follow best for becoming a productive programmer
Create your own big projects, including a C++-based arcade game
Leverage STL functions and classes for easy and efficient programming
Handle the Unicode (UTF-8) output
Understand the uses and limits of views for efficiently pipelining data
Construct core data types (strings, queues, vectors, linked lists) from scratch
Understand the basics of C as a competing language
Who This Book Is For
All who are new to C++, either self-learners or students in college-level courses.
Contents
1. Getting started.- 2. Images and sound.- 3. Numbers.- 4. Mouse, and if.- 5. Loops and text input.- 6. Algorithms and the development process.- 7. Functions.- 8. Functions, continued.- 9. Using the debugger.- 10. Arrays, spans and enum.- 11. Animation with structs and sprites.- 12. Building your own arcade game. input, collisions, and putting it all together.- 13. Standard I/O and file operations.- 14. Character arrays and dynamic memory.- 15. Classes.- 16. Classes, continued.- 17. Strings, and operators.- 18. String views, exceptions, move semantics, and O notation.- 19. Templates, including vector).- 20. Inheritance.- 21. Virtual functions and multiple inheritance.- 22. Linked lists.- 23. The Standard Template Library (STL) and functional-style programming.- 24. Functional-Style Programming, continued.- 25. Esoterica (recommended).- 26. Esoterica (recommended), continued.- 27. Esoterica (not so recommended).- 28. Building bigger projects.- 29. C.- 30. Moving on with SDL.



