Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
Posts: #Cpp

Posts: # Cpp

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...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
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...
...
Jul 06 2022
PVS-Studio to help with schoolwork-like tasks in C and C++
Andrey Karpov
Today I'll talk some more about questions posted on Stack Overflow — in particular, about another discussion started by someone learning the C++ language. I'd like to note that, if you are...
...
Jun 29 2022
Challenge: can you spot an error in C++ code?
Andrey Karpov
PVS-Studio developers made an entertaining quiz for you. Try to quickly find a bug in a code fragment. If you spot an error - click on...
...
Jun 28 2022
"Why doesn't my code work?" — to anyone learning the art of programming and writing to the Stack Overflow community
Andrey Karpov
Stack Overflow is full of questions from people learning to write code. Here's a tip: you can get answers to most of these questions if you run a static code analyzer against your code. That's...
...
View more Pagination arrow previous
Showing: - of 641