Implementing hello-world in c++