Ebook624 pages4 hours
Learn C++ by Example: Covers versions 11 to 23
Rating: 0 out of 5 stars
()
About this ebook
Learn the latest features of modern C++ by coding eight engaging projects.
Don’t let the multitude of C++ updates intimidate you! Learn C++ by Example takes you through the major language changes since C++ 11, with each new feature demonstrated with a fun project or minigame. It’s perfect for beginners who know C++ basics, coders coming back to the language, or current C++ developers missing out on everything the language has to offer.
Inside Learn C++ by Example you’ll find important skills such as:
Learn C++ by Example rapidly gets up to speed with C++’s updates and changes, and ensures you’ll stay ahead as the language continues to change and grow. You’ll learn about vectors and ranges by generating Pascal’s triangle, create a racing game with new special member functions, build a slot machine with parameter packs, and more.
Foreword by Matt Godbolt.
About the technology
C++ delivers the flexibility and performance you need for everything from low-level systems programming to secure financial applications and AAA game development. First introduced in 1985, the language is still evolving, with exciting changes in every new version. Whether you’re just getting started or you’re a veteran coder adding to your toolbox, the eight hands-on projects in this book will get you up to speed on modern C++ features and practices.
About the book
Learn C++ by Example is a fun and practical way to start writing modern C++ code. It guides you through entertaining challenges, emphasizing features and techniques made possible by C++ 17, 20, and 23. You’ll learn about objects and arrays by creating a deck of playing cards, master the C++ random library for a number guess game, use the chrono library to create a countdown timer, and much more. Along the way you’ll also pick up valuable tips for testing, project organization, and other productivity skills.
What's inside
About the reader
Requires beginner to intermediate C++ skills.
About the author
Frances Buontempo is an experienced C++ developer and the editor of ACCU’s Overload magazine.
The technical editor on this book was Timothy Jaap van Deurzen.
Table of Contents
1 Hello again, C++!
2 Containers, iterators, and ranges
3 Input of strings and numbers
4 Time points, duration, and literals
5 Creating and using objects and arrays
6 Smart pointers and polymorphism
7 Associative containers and files
8 Unordered maps and coroutines
9 Parameter packs and std::visit
Don’t let the multitude of C++ updates intimidate you! Learn C++ by Example takes you through the major language changes since C++ 11, with each new feature demonstrated with a fun project or minigame. It’s perfect for beginners who know C++ basics, coders coming back to the language, or current C++ developers missing out on everything the language has to offer.
Inside Learn C++ by Example you’ll find important skills such as:
- Utilizing the new C++ features from C++ 11 to 23
- Effectively testing your C++ code
- What happens “under the hood” of C++ code
- Picking efficient algorithms and data structures
- std::format, STL algorithms, ranges, and coroutines
Learn C++ by Example rapidly gets up to speed with C++’s updates and changes, and ensures you’ll stay ahead as the language continues to change and grow. You’ll learn about vectors and ranges by generating Pascal’s triangle, create a racing game with new special member functions, build a slot machine with parameter packs, and more.
Foreword by Matt Godbolt.
About the technology
C++ delivers the flexibility and performance you need for everything from low-level systems programming to secure financial applications and AAA game development. First introduced in 1985, the language is still evolving, with exciting changes in every new version. Whether you’re just getting started or you’re a veteran coder adding to your toolbox, the eight hands-on projects in this book will get you up to speed on modern C++ features and practices.
About the book
Learn C++ by Example is a fun and practical way to start writing modern C++ code. It guides you through entertaining challenges, emphasizing features and techniques made possible by C++ 17, 20, and 23. You’ll learn about objects and arrays by creating a deck of playing cards, master the C++ random library for a number guess game, use the chrono library to create a countdown timer, and much more. Along the way you’ll also pick up valuable tips for testing, project organization, and other productivity skills.
What's inside
- New C++ features from C++ 11 to 23
- Effectively test your C++ code
- What happens “under the hood”
- Efficient algorithms and data structures
About the reader
Requires beginner to intermediate C++ skills.
About the author
Frances Buontempo is an experienced C++ developer and the editor of ACCU’s Overload magazine.
The technical editor on this book was Timothy Jaap van Deurzen.
Table of Contents
1 Hello again, C++!
2 Containers, iterators, and ranges
3 Input of strings and numbers
4 Time points, duration, and literals
5 Creating and using objects and arrays
6 Smart pointers and polymorphism
7 Associative containers and files
8 Unordered maps and coroutines
9 Parameter packs and std::visit
Author
Frances Buontempo
Frances Buontempo has many years of C++ experience. She has given talks on C++ and is an editor of ACCU’s Overload magazine.
Related to Learn C++ by Example
Related ebooks
Tiny C Projects Rating: 0 out of 5 stars0 ratingsElm in Action Rating: 0 out of 5 stars0 ratingsHello! Python Rating: 0 out of 5 stars0 ratingsClassic Computer Science Problems in Python Rating: 0 out of 5 stars0 ratingsStreet Coder: The rules to break and how to break them Rating: 0 out of 5 stars0 ratingsPersonal Finance with Python: Using pandas, Requests, and Recurrent Rating: 0 out of 5 stars0 ratingsHello World! Third Edition: Computer Programming for Kids and Other Beginners Rating: 0 out of 5 stars0 ratingsLearning C# by Developing Games with Unity 5.x - Second Edition Rating: 5 out of 5 stars5/5Tiny Python Projects: Learn coding and testing with puzzles and games Rating: 5 out of 5 stars5/5Classic Computer Science Problems in Swift: Essential techniques for practicing programmers Rating: 0 out of 5 stars0 ratingsSocial card games Rating: 0 out of 5 stars0 ratingsC Is for Children: My First Thirty-Two Keywords Rating: 0 out of 5 stars0 ratingsHello Scratch!: Learn to program by making arcade games Rating: 0 out of 5 stars0 ratingsXamarin.Forms Solutions Rating: 0 out of 5 stars0 ratingsCreate Your Own Story with Scratch Rating: 0 out of 5 stars0 ratingsThe Hidden Costs of Self-Publishing a Best Seller - Facts You should Know Rating: 0 out of 5 stars0 ratingsEditor's Notebook Rating: 0 out of 5 stars0 ratingsGrokking Machine Learning Rating: 0 out of 5 stars0 ratingsPractical Shader Development: Vertex and Fragment Shaders for Game Developers Rating: 0 out of 5 stars0 ratingsCreate an Animation with Scratch Rating: 0 out of 5 stars0 ratingsBeyond Spreadsheets with R: A beginner's guide to R and RStudio Rating: 0 out of 5 stars0 ratingsClassic Computer Science Problems in Java Rating: 0 out of 5 stars0 ratingsLearn to Code With JavaScript Rating: 0 out of 5 stars0 ratingsRoguelike Development with JavaScript: Build and Publish Roguelike Genre Games with JavaScript and Phaser Rating: 0 out of 5 stars0 ratingsGrokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Format Your eBook the Free and Easy Way Rating: 0 out of 5 stars0 ratingsModern Full-Stack Development: Using TypeScript, React, Node.js, Webpack, and Docker Rating: 0 out of 5 stars0 ratingsFormat It Yourself!: The Ultimate Step-by-Step Guide for Authors. A Master-Class with over 60 Screenshots.: Publish It Yourself!, #2 Rating: 0 out of 5 stars0 ratingsIndie Author Magazine Featuring Joseph Alexander: Indie Author Magazine, #7 Rating: 0 out of 5 stars0 ratings
Programming For You
Java for Beginners: A Crash Course to Learn Java Programming in 1 Week Rating: 5 out of 5 stars5/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5A Slackers Guide to Coding with Python: Ultimate Beginners Guide to Learning Python Quick Rating: 0 out of 5 stars0 ratingsPython: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Python for Beginners: Learn the Fundamentals of Computer Programming Rating: 0 out of 5 stars0 ratingsSQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5Python QuickStart Guide: The Simplified Beginner's Guide to Python Programming Using Hands-On Projects and Real-World Applications Rating: 0 out of 5 stars0 ratingsExcel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5Learn SQL in 24 Hours Rating: 5 out of 5 stars5/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsCoding All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsPython Machine Learning By Example Rating: 4 out of 5 stars4/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Python Data Structures and Algorithms Rating: 5 out of 5 stars5/5Learn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5
Reviews for Learn C++ by Example
Rating: 0 out of 5 stars
0 ratings
0 ratings0 reviews
Book preview
Learn C++ by Example - Frances Buontempo
Pf book_preview_excerpt.html }ےǑ寤FfR!
#Qh23YTfTU2yBQ&}ߘїpwtiteEFxqg/_еۗ/k4]ᶮnWGxD>x$<_ɾvWEs䇢0'O/1X!^?mlfn'n*\Wmw(~
^qUn _w}Ln4Ʉ\jn7ɗ7d][tMU]4noWmvp|:J,BPfߍsWȗ][|7TOoMuǙѢo\G`ʉ$3Nݰ*>AdfYܯʏP=-(B=lHN)v7(oq}/uW4zpwQ"!CUQduYNݴe~9g/{
fcܻY~/˪d8N~/3!ɾ;dv]u{z|5Q>ǰٺWA#6ǓekQ/n䆭{_֛,Pɗ,B,ƹaG\n%[\QuX}sCup(oDA{ѓM!.dĚ Eld=ӱLs-M{[w2ok-VyN@mVb<,u ؔ*D#ǨCWN@t;C
̓LP6ۣˤq.p[%|⚱W䛮c^LK zטAT۫kܣPwуî|z_7nH)/d@o8w=دm[=|9xΪsKm?[4hE3Ec2ىڦ!*,98dw*4({#UknD6(Ñ[WiG[)0N4KgZqs7bFyP
6:ʧʹ歾 2j#a[ONQ8t0錱_"xuխ?ȨǑ*GbWx3=OѡC?E,N`h#HBUYb7ۈ+NX7L"C&?=Ⓒ^ vy/wmtB͌,d;
El?+G