PietroLC.com - transparent Logo - A community of C++ software developers
My shared notes and tutorials on

C++ programming: from basics to Unreal Engine 5 (UE5)


Welcome to my community of C++ developers, games developers, algorithms and A.I. enthusiasts.

You can simply read my articles, but I encourage you to share your knowledge and ideas as well. Everyone’s opinion is valued, regardless of whether you are just getting started or have years of experience.

Join the discussion by becoming a member of our thriving community today!

Get more from PietroLC.com

Sign-in to learn C++ programming for free

Pietro Luigi Carotenuto, PhD, blogger about C++ programming

Pietro Luigi Carotenuto

Pietro L. Carotenuto

C++ programming, Games Development, Coding Challenges, SVN & GIT, …

You can find here a list of most recent posts:

Fix black screen issue for Ubuntu VM in 8 blessed steps

This step-by-step tutorial contains the solution to one of the most common issues when using virtual machines from Oracle VM VirtualBox: after starting the virtual machine, it shows a black screen and it seems to not work anymore. Do not panic! Luckily, there is an easy fix for the virtual machines (VMs) black screen issue. When can the black screen issue occur? A virtual machine can stop working if there is no more free space on the hard disk of the host machine or on the hard disk of the virtual machine itself. In the first scenario, the virtual machine…

black screen issue - headache effect

Main differences between C and C++

C++ provides OOP and modern features, whereas C is simple and efficient for systems programming. Discover the main differences between C and C++.
main differences between C and C++

Git – Unstaged changes after a revert – CRLF/LF issue

The problem: unexpected unstaged changes after a revert Recently, when using the GIT command-line to switch to an existing user branch, the checkout failed due to some local changes in the current workspace. In this case, git suggests to commit or to stash the local changes.Since I was not interested in the local changes, I decided to revert these files to the last commit (HEAD). The revert process succeeded 😊. Surprisingly, when trying to checkout the new user branch, the same files were shown as unstaged. Initially, I tried reverting again the changes to the last commit. Instead of git…

How to fix the unstaged changes after git revert problem

Most commented posts:

Posts recently updated:

Sign-in if you want more

Members enjoy:

  • 100% AD-FREE navigation
  • a customizable member profile
  • access to Exclusive content
  • A chat messaging system to communicate with ALL the members
  • the Automatic notifications of new posts
  • 24/7 assistance

Become part of this community! It takes only 30 seconds!