A little c++ project