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

Posts: C++ articles

Mar 31 2025
Breaking down bugs in TDengine to master refactoring, part 3: price of laziness
Andrey Karpov
Get ready for code smells, classic errors, and typos when checking the TDengine project using PVS-Studio. Developers could've prevented many of them if they had carefully designed the code in...
...
Mar 28 2025
Safe array handling? Never heard of it
Aleksandra Uvarova
Sooner or later, any developer working with C-like languages gets the idea of treating a two-dimensional array as a one-dimensional one. The reasons vary, but the result is usually the same. In...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Mar 18 2025
Breaking down bugs in TDengine to master refactoring, part 2: stack-consuming macro
Andrey Karpov
Get ready for code smells, classic errors, and typos when checking the TDengine project using PVS-Studio. Much of this is avoidable if we design code carefully from the beginning, keep the...
...
Mar 13 2025
Beta testing: updated parser for C and C++ code analysis
Aleksandra Uvarova
With the upcoming PVS-Studio 7.36 release, we invite you to participate in the beta testing of our C and C++ analyzer featuring an updated...
...
Mar 06 2025
std::array in C++ is faster than array in C. Sometimes
Anton Tretyakov
Hi, folks! Let's see if std::array overtakes the built-in array with the help of compiler optimizations or falls...
...
Mar 05 2025
Breaking down bugs in TDengine to master refactoring, part 1: sausage code
Andrey Karpov
The analysis of the TDengine project code using PVS-Studio reveals classic errors and typos. Developers could've avoided many of them if they had carefully designed the code in the first place...
...
Feb 21 2025
Exploring Nau Engine codebase: pt.2
Evgenii Feklin
Welcome to the second part of our Nau Engine trilogy, where we delve into key aspects of optimization and performance enhancement. Our goal is to discover issues that could impact the performance...
...
Feb 18 2025
History of C and C++. Part two: standardization of C and C++, Qt, Clang, and Unreal Engine
Valerii Filatov
This is a second part of the story on how the C and C++ languages came to be as we know them today. Here, we'll cover the official certification of C and C++, as well as the tools released...
...
Issues: PVS-Studio plugin for Visual Studio
Valerii Filatov
Several users have reported issues with the PVS-Studio plugin for Visual Studio version 17.12 and later, preventing the plugin to be run. In this post, we'll explain the issue and suggest...
...
Feb 13 2025
Exploring Nau Engine codebase: pt.1
Evgenii Feklin
This article begins a trilogy about the Nau Engine game engine. In the first part, we focus on its functionality and explore three categories of common errors: copy-paste errors, logic flaws...
...
View more Pagination arrow previous
Showing: - of 613