Basic of app using C++