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 69.99 €
DPD courier 5.99 Bpost point 7.99 Bpost 7.49 DPD point 3.49 GLS courier 4.49

Free delivery for orders over 69.99 euro.

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 75 b
31.19
In stock at our supplier Shipping in 10-18 days

30-day return policy


Customers also purchased


Java Web Services David A. Chappell / Book Paperback
common.buy 41.21
Cloud Native Java Josh Long / Book Paperback
common.buy 70.99
Gray Hat Python Justin Seitz / Book Paperback
common.buy 40.10
RESTful Java with JAX-RS 2.0 2ed Bill Burke / Book Paperback
common.buy 41.21
Fantastické zvery a ich výskyt Scamander M.L.O.K. / Book Hardback
common.buy 9.41
ABBcédaire Brigitte Bardot / Book Hardback
common.buy 25.31
Nada bueno germina CESAR PEREZ GELLIDA / Book Hardback
common.buy 23.39
Česká gramatika v kostce Lída Holá / Book Sheet
common.buy 2.12
Top
INSPIRE LYCEE - LE + CA NIVEAU 2 Fabienne Gallon / Book Paperback
common.buy 24.91
Top
ALCHIMIST Paulo Coelho / Book Book
common.buy 10.93
Top
Spanish For Beginners Juan Fernandez / Book Paperback
common.buy 12.14
Top
Amigurumis - small and sweet! Annemarie Sichermann / Book Paperback
common.buy 14.47
Comment rediger une dissertation? (Fiche de cours) Dominique Coutant-Defer / E-book Adobe ePub DRM
common.buy 11.43
Náhlý klid Michael Lorenc / Book Paperback
common.buy 4.24
La casa de Bernarda Alba Federico García Lorca / Book Paperback
common.buy 5.66
Zábavné úkoly pro seniory 4 Jitka Juráňová / Book Paperback
common.buy 5.66
Top
Opowiedz mi, Babciu Monika Koprivova / Book Hardback
common.buy 30.68
Le décodage fascial PAOLETTI / Book Paperback
common.buy 71.50
Top
Vente 1 (A1/A2): Libro del alumno (Spanish Edition) Marín Arrese Fernando / Book Paperback
common.buy 25.11
Malé jablko Katarína Hybenová / Book Hardback
common.buy 13.76
L'Occident médiéval Ve-XIIIe siècle Robert Fossier / Book Paperback
common.buy 16.70

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 48.10
Hands-On GPU Programming with Python and CUDA Dr. Brian Tuomanen / Book Paperback
common.buy 49.72
Boca Juniors Jim Whiting / Book Paperback
common.buy 11.54
Freely I Served Stanislaw Sosabowski / Book Paperback
common.buy 23.08
Window Marion Arbona / Book Hardback
common.buy 18.93
Prada Catwalk Susannah Frankel / Book Hardback
common.buy 73.32
Top
Harry Potter: A Pop-Up Guide to Hogwarts Kevin Wilson / Book Hardback
common.buy 56.30
Happiness And Marriage: Large Print Edition Elizabeth Towne / Book Paperback
common.buy 12.35
Cours de Peinture Par Principes (1766) Roger De Piles / Book Paperback
common.buy 39.29
Effingham County, Georgia, Records Of. Silas Emmett Lucas / Book Paperback
common.buy 39.29
Democratic Governance and Non-State Actors A. Gardner / Book Paperback
common.buy 53.37
Top
Bury Our Bones in the Midnight Soil V. E. Schwab / Book Hardback
common.buy 23.39
Top
Chainsaw Man Box Set Tatsuki Fujimoto / Book Paperback
common.buy 85.68
Beetles of the World – A Natural History Maxwell V. L. Barclay / Book Hardback
common.buy 26.22
Leadership and Military Training Lincoln Clarke Andrews / Book Paperback
common.buy 19.33
Blade Runner: A Movie (new Edition) William S. Burroughs / Book Paperback
common.buy 9.71
27th Waffen SS Volunteer Grenadier Division Langemarck Massimiliano Afiero / Book Hardback
common.buy 31.29
The Dramatic Works of Sir George Etherege; 2 George Etherege / Book Paperback
common.buy 23.08

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?