Könyv C++ Brain Teasers Anders Schau Knatten

C++ Brain Teasers

Nyelv: Angol
Kötés: Puha kötésű
Elérhetőség: Beszállítói készleten
Küldés 10-18 napon belül
10 706 Ft
C++ is famous for getting all the default behaviors wrong and for sometimes making demons fly out of...

Információk a könyvről

Nyelv
Angol
Kötés
Könyv - Puha kötésű
Kiadva
2024
oldal
100
EAN
9798888650516
Enbook ID
45816047
Súly
274

Teljes leírás

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.

Érdekelheti

Discovering Modern C++

Peter Gottschling
17 431 Ft

Boca Juniors

Jim Whiting
4 335 Ft

Freely I Served

Stanislaw Sosabowski
8 742 Ft

Window

Marion Arbona
6 680 Ft

Prada Catwalk

Susannah Frankel
25 191 Ft
14 544 Ft

Chainsaw Man Box Set

Tatsuki Fujimoto
32 373 Ft
9 338 Ft

Leadership and Military Training

Lincoln Clarke Andrews
7 164 Ft
3 582 Ft

Azok a vásárlók, akik ezt a könyvet megvásárolták, a következőket is megvásárolták

Java Web Services

David A. Chappell
15 211 Ft
26 186 Ft

Gray Hat Python

Justin Seitz
14 687 Ft

ABBcédaire

Brigitte Bardot
8 702 Ft

Nada bueno germina

CESAR PEREZ GELLIDA
8 034 Ft
740 Ft
8 971 Ft

ALCHIMIST

Paulo Coelho
4 107 Ft
4 519 Ft

Amigurumis - small and sweet!

Annemarie Sichermann
5 474 Ft

Náhlý klid

Michael Lorenc
1 520 Ft

La casa de Bernarda Alba

Federico García Lorca
2 116 Ft
1 946 Ft

Opowiedz mi, Babciu

Monika Koprivova
10 536 Ft
24 568 Ft