C++

Market share of the most used C/C++ IDEs in 2018, statistics and estimates

These are the results of a research study to determine which are the most used C/C++ IDEs in 2018. They include the estimated market share for the top IDEs, but also the estimated number of users and of C/C++ developers…
Read more

A C++ program to get CPU usage from command line in Linux

CPU usage from command line in Linux

This article explains how to create a simple program in C++ that shows the current CPU usage from command line in Linux. That’s achieved processing the file /proc/stat which contains several kernel/system statistics.

C++11 sort using function objects

C++

If you’re working on some C++ code and you need to sort the elements in a container which provides random access, like a std::vector, the simplest and quickest option is using the function std::sort from the <algorithm> functions. In this post I’m showing…
Read more