simple c++ app