first try on c++