Basic C/C++ exercises for backup