simple .cpp program