Never programmed under C++. Simple study project