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
Austrian Post 5.49 DPD courier 3.99 DPD point 2.99

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 80 b
32.59 VAT included
In stock at our supplier Shipping in 10-18 days
Austria Delivery to Austria

30-day return policy


Customers also purchased


Java Web Services David A. Chappell / Book Paperback
common.buy 42.59
Cloud Native Java Josh Long / Book Paperback
common.buy 73.29
Gray Hat Python Justin Seitz / Book Paperback
common.buy 42.19
RESTful Java with JAX-RS 2.0 2ed Bill Burke / Book Paperback
common.buy 42.59
Top
Amigurumis - small and sweet! Annemarie Sichermann / Book Paperback
common.buy 17.00
Fantastické zvery a ich výskyt Scamander M.L.O.K. / Book Hardback
common.buy 9.79
Top
INSPIRE LYCEE - LE + CA NIVEAU 2 Fabienne Gallon / Book Paperback
common.buy 33.89
Top
ALCHIMIST Paulo Coelho / Book Book
common.buy 12.00
La casa de Bernarda Alba Federico García Lorca / Book Paperback
common.buy 5.89
Česká gramatika v kostce Lída Holá / Book Sheet
common.buy 2.19
Top
Zábavné úkoly pro seniory 4 Jitka Juráňová / Book Paperback
common.buy 5.89
Top
Vente 1 (A1/A2): Libro del alumno (Spanish Edition) Marín Arrese Fernando / Book Paperback
common.buy 24.79
Malé jablko Katarína Hybenová / Book Hardback
common.buy 14.49
L'Occident médiéval Ve-XIIIe siècle Robert Fossier / Book Paperback
common.buy 17.19
Top
Opowiedz mi, Babciu Monika Koprivova / Book Hardback
common.buy 31.89
Top
Spanish For Beginners Juan Fernandez / Book Paperback
common.buy 12.59

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 50.09
Hands-On GPU Programming with Python and CUDA Dr. Brian Tuomanen / Book Paperback
common.buy 51.39
Freely I Served Stanislaw Sosabowski / Book Paperback
common.buy 24.29
Window Marion Arbona / Book Hardback
common.buy 19.59
Prada Catwalk Susannah Frankel / Book Hardback
common.buy 76.39
Boca Juniors Jim Whiting / Book Paperback
common.buy 12.09
Top
Harry Potter: A Pop-Up Guide to Hogwarts Kevin Wilson / Book Hardback
common.buy 58.99
Happiness And Marriage: Large Print Edition Elizabeth Towne / Book Paperback
common.buy 12.79
Cours de Peinture Par Principes (1766) Roger De Piles / Book Paperback
common.buy 40.69
Effingham County, Georgia, Records Of. Silas Emmett Lucas / Book Paperback
common.buy 40.69
Democratic Governance and Non-State Actors A. Gardner / Book Paperback
common.buy 55.49
Blade Runner: A Movie (new Edition) William S. Burroughs / Book Paperback
common.buy 10.29
Top
Bury Our Bones in the Midnight Soil V. E. Schwab / Book Hardback
common.buy 24.59
Top
Chainsaw Man Box Set Tatsuki Fujimoto / Book Paperback
common.buy 93.69
Beetles of the World – A Natural History Maxwell V. L. Barclay / Book Hardback
common.buy 27.39
Top
Loved and Missed BOYT SUSIE / Book Paperback
common.buy 14.99
Leadership and Military Training Lincoln Clarke Andrews / Book Paperback
common.buy 19.99

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?