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.
Author Archive: Davide Coppola
A visualization of the Android version distribution history over the last 5 years. The time frame considered in this article covers from January 2012 to December 2016.
This is a clear and simple step-by-step tutorial showing how to set up a git repository locally and on a remote server. You will need this for sharing your work with other people and/or machines.
This tutorial will show you how to use Qt Network and JSON to create a simple Hacker News reader based on the Hacker News API. In particular we will be using high level classes of Qt Network to handle HTTP requests….
This is a collection of useful resources to learn how to use git, the free and open source distributed version control system.
This tutorial will show you how to use SQLite and Qt SQL to have a relational database in your application. It will cover all the basic operations needed to work with a database like creating a table, inserting data, executing…
A step by step guide that will show you how to contribute to an open source project on GitHub, one of the most popular and used git repository hosting services.
This tutorial is an introduction to Qt programming and will teach you how to create an application with Qt and C++. Full project and source code are provided.
This is a very simple C++ tutorial which explains how to use the open-source library libgit2 to iterate through a git repository.
In this post I analyse and discuss the performance of raw pointers vs smart pointers in few C++11 benchmarks. The operations tested are creation, copy, data access and destruction.