LIBRISTO
LIBROAMANTO
mandatory
Become part of a community of book lovers from all over the world and get access to a whole bunch of benefits. Create an account for free
0
Free delivery for purchases over 19 990 Ft
DPD point 990 Ft DPD courier 1 190 Ft GLS point 1 190 Ft Hungarian Post 1 795 Ft Hungarian Post 1 690 Ft Hungarian Post 1 690 Ft FoxPost 1 190 Ft Packeta point 1 190 Ft GLS courier 1 690 Ft

Free shipping on orders over 19,990 Ft via Packeta, Fox Post Box, and DPD Collection Point

C++ Brain Teasers

Language EnglishEnglish
Book Paperback
Book C++ Brain Teasers Anders Schau Knatten
Libristo code: 45816047
Publishers Pragmatic Bookshelf, August 2024
C++ is famous for getting all the default behaviors wrong and for sometimes making demons fly out of... Full description
? points 76 b
11 342 Ft
In stock at our supplier Shipping in 14-21 days

Up to 30 days for returns


Customers also purchased


Java Web Services David A. Chappell / Book Paperback
common.buy 15 969 Ft
Cloud Native Java Josh Long / Book Paperback
common.buy 27 489 Ft
Gray Hat Python Justin Seitz / Book Paperback
common.buy 13 191 Ft
RESTful Java with JAX-RS 2.0 2ed Bill Burke / Book Paperback
common.buy 15 969 Ft
Top
Vente 1 (A1/A2): Libro del alumno (Spanish Edition) Marín Arrese Fernando / Book Paperback
common.buy 9 715 Ft
Top
Amigurumis - small and sweet! Annemarie Sichermann / Book Paperback
common.buy 5 730 Ft
Top
INSPIRE LYCEE - LE + CA NIVEAU 2 Fabienne Gallon / Book Paperback
common.buy 9 418 Ft
Schockstarre Friederike Schmöe / Book Paperback
common.buy 5 285 Ft

C++ is famous for getting all the default behaviors wrong and for sometimes making demons fly out of your nose. Through 25 puzzles, from the useful to the outright weird, we explore some of C++'s most interesting quirks. How does initialization actually work? Do temporaries even exist? Why is `+!!"" ` a valid expression in C++? As you work through each puzzle, you will peel off some of the layers of complexity of C++, getting a fundamental understanding of how the language works. This will help you write better code and recognize issues more easily while debugging.


Each puzzle in the book is a complete, seemingly simple C++ program, but can you figure out the output for each, or will the answers stump you? Most of the programs compile and have deterministic, though sometimes surprising, output. Some might, however, have undefined behavior, where anything can happen, including making demons fly out of your nose! Yet others might have unspecified behavior with output that is not completely deterministic; we just know nothing as bad as nasal demons will happen.


All puzzles are accompanied by detailed discussions, taking a look under the hood at what exactly is going on to help you understand more about C++'s unexpected behaviors, as well as fundamental concepts like initialization, overload resolution, and implicit conversions. For the non-deterministic cases, we'll explore some typical behaviors one can expect to see in practice, what causes them, and why they shouldn't be relied on.


After working through the book, you'll have tools and techniques to help you write better and safer code, and a better understanding of the fundamentals of the language, the background for some of C++'s apparent weirdness, and a better feel for identifying bugs and unsafe code in your own programs.


What You Need:


The book assumes basic knowledge of C++. If you want to run the programs yourself, you can use either a local C++ compiler or the online compilers at https://godbolt.org.

Actress & Polyglot
EWA KASP for
Play video
Ewa Kasp
Libristo has the largest selection of foreign-language books. That’s why I buy my books there.

About the book

Full name C++ Brain Teasers
Language English
Binding Book - Paperback
Date of issue 2024
Number of pages 100
EAN 9798888650516
Libristo code 45816047
Publishers Pragmatic Bookshelf
Weight 274
Give this book today
It's easy
1 Add to cart and choose Deliver as present at the checkout 2 We'll send you a voucher 3 The book will arrive at the recipient's address

You might also be interested in


Discovering Modern C++ Peter Gottschling / Book Paperback
common.buy 18 298 Ft
Hands-On GPU Programming with Python and CUDA Dr. Brian Tuomanen / Book Paperback
common.buy 19 311 Ft
Top
Shuggie Bain Douglas Stuart / Book Paperback
common.buy 4 341 Ft
Magical Knowledge II: the Initiate Josephine McCarthy / Book Paperback
common.buy 8 865 Ft
Window Marion Arbona / Book Hardback
common.buy 7 164 Ft
German Dave Smith / Book Hardback
common.buy 10 041 Ft
Affordable
Prada Catwalk Susannah Frankel / Book Hardback
common.buy 18 555 Ft
Top
End of the Modern World Romano Guardini / Book Paperback
common.buy 4 852 Ft
Boca Juniors Jim Whiting / Book Paperback
common.buy 4 551 Ft
Hype Machine SINAN ARAL / Book Paperback
common.buy 6 165 Ft
Top
Harry Potter: A Pop-Up Guide to Hogwarts Kevin Wilson / Book Hardback
common.buy 22 921 Ft
Happiness And Marriage: Large Print Edition Elizabeth Towne / Book Paperback
common.buy 4 819 Ft
The Shadow Carver Nadine Matheson / Book Paperback
common.buy 6 165 Ft
Top
Bury Our Bones in the Midnight Soil V. E. Schwab / Book Hardback
common.buy 8 983 Ft
The Little Pinky No Drinky Book C.G. Ford / Book Paperback
common.buy 8 311 Ft
Top
Chainsaw Man Box Set Tatsuki Fujimoto / Book Paperback
common.buy 35 142 Ft
Top
Beetles of the World – A Natural History Maxwell V. L. Barclay / Book Hardback
common.buy 10 640 Ft
Loved and Missed BOYT SUSIE / Book Paperback
common.buy 6 042 Ft

Login

Log in to your account. Don't have a Libristo account? Create one now!

 
mandatory
mandatory

Don’t have an account? Discover the benefits of having a Libristo account!

With a Libristo account, you'll have everything under control.

Create a Libristo account
Book advisor Libroamiko
Hi, I'm Libroamiko, can I help?