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

Posts: C++ articles

Aug 31 2022
The feedback for our C++ quiz and why it matters
Alexey Sarkisov
Earlier we wrote about our quiz for C++ developers. Since the quiz launch, we have been carefully collecting your feedback. Some of the comments were related to the quiz errors, that we...
...
Aug 30 2022
The concept of smart pointer static_ptr<T> in C++
Guest
We have several smart pointers in C++ – 'std::unique_ptr', 'std::shared_ptr', 'std::weak_ptr'.
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Aug 12 2022
"Our legacy of the past" or why we divided the V512
Mikhail Gelvikh
As the saying goes, the first step is always the hardest. That's exactly what happened in our case – after delaying it for so long, we have finally split the V512 diagnostic rule. You can read...
...
Jul 27 2022
Why do arrays have to be deleted via delete[] in C++
Mikhail Gelvikh
This note is for C++ beginner programmers who are wondering why everyone keeps telling them to use delete[] for arrays. But, instead of a clear explanation, senior developers just keep hiding...
...
Jul 21 2022
PVS-Studio vs Hacker: who's a better reviewer?
Andrey Karpov
Sometimes we publish articles about "a static analyzer that surpassed a C++ developer". And we carry on the tradition, but today we replace "developer" with...
...
Jul 19 2022
How warnings simplify your code
Andrey Karpov
When an analyzer or compiler issues a warning, sometimes it's hard to identify whether it's a false positive or a real error. Analyzers/compilers can be technically right, but the code also...
...
Jul 18 2022
Relocation: QMake -> CMake
Guest
On our way there, we'll walk along the Cross Compilers Street, sit in the Build System Square, and have a drink at the Dependency Management Bar. We'll also visit those who use Qt in embedded...
...
Intermodular analysis of C and C++ projects in detail. Part 2
Oleg Lisiy
In part 1 we discussed the basics of C and C++ projects compiling. We also talked over linking and optimizations. In part 2 we are going to delve deeper into intermodular analysis and discuss...
...
Jul 11 2022
Static code analyzer vs developers. Here we go again.
Alexey Sarkisov
In mid-May this year we released an updated version of our quiz for C++ developers. It's been 2 months already — keep on reading to learn more about the...
...
Intermodular analysis of C and C++ projects in detail. Part 1
Oleg Lisiy
Starting from PVS-Studio 7.14, the C and C++ analyzer has been supporting intermodular analysis. In this two-part article, we'll describe how similar mechanisms are arranged in compilers and...
...
View more Pagination arrow previous
Showing: - of 614