Category Archives: C++

Multithreaded programming with Qt

Multithreading is becoming an increasingly important part of modern programming. One reason for this is that multithreading enables a program to make the best use of available CPU cycles, thus allowing very efficient programs to be written. Another reason is … Continue reading

Posted in C++, Embedded | Tagged , | Leave a comment

Usage of dynamic memory in a real time system

Memory management is one of the most fundamental areas of software engineering. In many scripting languages you do not have to worry about memory management, but that does not make memory management any less important. In languages like C and … Continue reading

Posted in C++, Embedded | Tagged , , | 1 Comment

C++ Memory error detection on a Linux platform

Memory errors are among the most difficult bugs to detect because they don’t seem to cause any outward problems until it is too late. A memory leak can cause an out of memory issue, and further calls to malloc or … Continue reading

Posted in C++, Testing | Tagged , , , , | Leave a comment

C++ Memory leak tests on a Windows Platform

In C++, unit tests are ideal for ensuring correct functionality. But how do you make sure you don’t have memory leaks in your code,  leaks that eventually cause your application to crash when it runs out of memory? Unit tests … Continue reading

Posted in C++ | Tagged , , , | 1 Comment