Bog & idéEngelske bøgerFaglitteraturEDB

C++ Brain Teasers

Exercise Your Mind
0.0
Engelsk
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 mos...

Paperback

359,95 DKK
På lager i 0 butikker.

Forlagsbeskrivelse af C++ Brain Teasers af Anders Schau Knatten

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.

Detaljer

Forlag
The Pragmatic Programmers
ISBN
9798888650516
Sprog
Engelsk
Sider
100
Udgivelsesdato
22-08-2024
Format
Paperback
Varenr.
3374469
EAN nr.
9798888650516
Varegruppe
Edb
Højde/Dybde (mm)
190
Bredde (mm)
235
Længde (mm)
11
Vægt (g)
274

Bogens kategorier Klik på en kategori for at se lignende bøger

  • Databehandling og informationsteknologiProgrammering / softwareudviklingProgrammeringssprog og scriptsprog
  • Anmeldelser C++ Brain Teasers

    Brugernes anmeldelser
    Vurderet 0 ud af 5 baseret på 0 vurderinger

    Andre fandt også inspiration i

    Flere produkter, som fanger nysgerrigheden hos andre kunder
    Microsoft 365 Outlook For Dummies
    ENGLISH
    Microsoft 365 Outlook For DummiesFaithe ) Wempen
    239,95 DKK
    PAPERBACK
    Microsoft 365 Outlook For Dummies
    Internet Password Logbook Cognac Leatherette Keep Track Of: Usernames, Passwords, Web Addresses In One Easy & Organized Location
    ENGLISH
    Internet Password Logbook (Cognac Leatherette)Edb
    69,95 DKK
    Hardback
    Internet Password Logbook (Cognac Leatherette)
    How To Win At Chess The Ultimate Guide For Beginners And Bey
    ENGLISH
    How to Win at ChessGothamChess
    239,95 DKK
    HARDBACK
    How to Win at Chess
    Roblox Game Development In 24 Hours The Official Roblox Guid
    ENGLISH
    Roblox Game Development in 24 HoursOfficial Roblox Books
    329,95 DKK
    PAPERBACK
    Roblox Game Development in 24 Hours
    Diablo Horadric Vault - the Complete Collection
    FRIFRAGTENG
    Diablo Horadric Vault - the Complete CollectionMatt Burns
    879,95 DKK
    HARDBACK
    Diablo Horadric Vault - the Complete Collection
    Foundations Of Software Testing Istqb Certification
    FRIFRAGTENG
    Foundations of Software Testing Istqb CertificationDorothy Graham
    649,95 DKK
    PAPERBACK
    Foundations of Software Testing Istqb Certification
    The Legend Of Zelda Breath Of The Wildthe Complete Official
    ENGLISH
    The Legend of Zelda Breath of The Wildthe Complete officialEdb
    329,95 DKK
    HARDBACK
    The Legend of Zelda Breath of The Wildthe Complete official
    Code The Hidden Language Of Computer Hardware And Software
    ENGLISH
    CodeCharles Petzold
    289,95 DKK
    PAPERBACK
    Code
    Python All-in-one for Dummies
    ENGLISH
    Python All-in-one for DummiesAlan Simpson
    349,95 DKK
    PAPERBACK
    Python All-in-one for Dummies
    Sql In Easy Steps
    ENGLISH
    Sql In Easy StepsMike McGrath
    129,95 DKK
    Paperback
    Sql In Easy Steps