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

Posts: C++ articles

Feb 14 2023
Captain Blood's adventures: would Arabella sink?
Vladislav Stolyarov
We recently found out that the source code of the Captain Blood game (formerly known as Age of Pirates: Captain Blood) has been opened. We couldn't pass it up so we checked the game's quality with...
...
Feb 07 2023
C++ subtleties: so, you've declared a class...
Sergey Larin
Our team constantly encounters some C++ features that may be unknown to some developers. In this article, we're going to learn how a seemingly typical feature — class forward declarations — works.
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Under the hood of SAST: how code analysis tools look for security flaws
Sergey Vasiliev
Here we'll discuss how SAST solutions find security flaws. I'll tell you about different and complementary approaches to detecting potential vulnerabilities, explain why each of them is necessary...
...
Jan 17 2023
Falsehoods programmers believe about undefined behavior
Guest
Undefined behavior (UB) is a tricky concept in programming languages and compilers. I've heard many misconceptions about what the compiler guarantees in the presence of UB. This is unfortunate but...
...
Dec 29 2022
Top 10 bugs found in C++ projects in 2022
Vladislav Stolyarov
New Year is coming! It means, according to tradition, it's time to recall 10 of the most interesting warnings that PVS-Studio found during 2022.
...
Dec 12 2022
PVS-Studio and RPCS3: the best warnings in one click
Alexander Kurenev
Best Warnings — the analyzer's mode that displays 10 most interesting warnings in the output window. We invite you to take a look at the updated Best Warnings mode on the example of the RPCS3 project...
...
Nov 23 2022
Holy C++
Guest
In this article, I'll try to list all things that we can throw out of C++ without remorse. This won't cost us anything but will reduce the standard (and our headaches), take the burden off the...
...
Nov 01 2022
Lifetime extension of temporary objects in C++: common recommendations and pitfalls
Guest
After reading this article, you will learn the following: ways to extend the lifetime of a temporary object in C++, various tips and tricks; pitfalls of the lifetime extension that a C++ programmer...
...
Oct 28 2022
How we were looking for a bug in PVS-Studio or 278 GB of log files
Grigory Semenchev, Sergey Larin, Phillip Khandeliants
Here is an interesting story of how our team were looking for a bug in the PVS-Studio analyzer. Well, we make mistakes too. However, we are ready to roll up our sleeves and dive deep into the rabbit...
...
Oct 26 2022
0,1,2, Freddy came for Blender
Andrey Karpov
This article could have been named "How PVS-Studio prevents rash code changes, example N7". However, naming articles like that becomes boring. So today Freddy Krueger's name is in the title, and...
...
View more Pagination arrow previous
Showing: - of 650