an easy C++