Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
C++

Posts: C++ articles

Jan 22 2025
C++ programmer's guide to undefined behavior: part 12 of 11
Andrey Karpov, Dmitry Sviridkin
Your attention is invited to the final part of an e-book on undefined behavior. This is not a textbook, as it's intended for those who are already familiar with C++ programming. It's a kind of C...
...
Dec 28 2024
Court is in session: Top 10 most notorious C and C++ errors in 2024
Aleksandra Uvarova
Every year, we witness the same drama: bugs wreak havoc on our code as if asserting their dominance. But today, the tide turns—it's time for judgment. Let's dive into the most intriguing bugs we've...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Dec 19 2024
How third-party libraries change code analysis rules
Evgenii Feklin
Imagine you add a third-party library and suddenly some diagnostic rules of the static analyzer stop working. In this article, we'll look at one of the reasons why this can happen and offer some...
...
Dec 17 2024
C++ programmer's guide to undefined behavior: part 11 of 11
Andrey Karpov, Dmitry Sviridkin
Your attention is invited to the 11th part of an e-book on undefined behavior. This is not a textbook, as it's intended for those who are already familiar with C++ programming. It's a kind of C...
...
Dec 05 2024
Brain debugging. Interview with Anders Schau Knatten, author of "C++ Brain Teasers: Exercise Your Mind"
Uliana Khromchenko
Dear readers, the PVS-Studio team is here to bring you an interview with Anders Schau Knatten, the author of "C++ Brain Teasers: Exercise Your Mind". In this article, you'll get an inside look at his...
...
Nov 28 2024
C++ programmer's guide to undefined behavior: part 10 of 11
Andrey Karpov, Dmitry Sviridkin
Your attention is invited to the tenth part of an e-book on undefined behavior. This is not a textbook, as it's intended for those who are already familiar with C++ programming. It's a kind of C...
...
Nov 25 2024
5 lines of fortune: what program keeps under wraps
Aleksandra Uvarova
Forget about ghosts! The true threats lurk in everyday things—like static_cast, which can unexpectedly drop all security efforts, and assert, which rapidly vanishes in a release build. Welcome to the...
...
Nov 21 2024
History of C and C++. Part one: emergence and standardization of C language. C with Classes becomes C++
Valerii Filatov
C and C++ are iconic languages in which a huge amount of code is written. What path have they traveled to become ones? This article covers the emergence of C and the beginning of its official...
...
Nov 20 2024
19 errors in LLVM 19
Andrey Karpov
The PVS-Studio static analyzer can find errors even in such a high-quality and well-tested project as LLVM. To make sure it's not empty words, we occasionally check the project and post notes about...
...
Nov 19 2024
Debugging bugs in x64dbg debugger. Step out to GUI
Taras Shevchenko
We all need to interact with a debugger somehow: via text or a graphical user interface. A nasty bug may appear in a program "shell" with a well-established core. Users are unlikely to like it. Any...
...
View more Pagination arrow previous
Showing: - of 650