Filtered by:
tags=CPP
Practices to reduce memory leaks in C++
One of the fundamental differences between C++ and the more modern and if I dare say popular programming languages such as Java and C\#, is the lack of a garbage collector in C++. Often this is used as an example to portray how C++ has not kept up with the
Typesafe Logging
One of the common sources of runtime errors in C++ comes from using the good old vararg function types -- printf() or its variants. The problem stems from type mismatch between the type specifier in the format string and the actual arguments supplied to ma
Explicit Overrides
In the last two days, I have been twice bitten by the loose nature of legacy C++ language. I had developed a base class that abstracts the core features of a module a year back. The class itself was a great success. Since developing it for a specific modul