Update hello.cpp

Made the necessary corrections. Works!
Merge pull request #2 from matyler87/patch-2

Update hello.cpp