I believe the problem here is that you've used the wrong quote characters around the Hello!. You should only use the normal quotes ("), but if the copied code is accurate you used different ones (“ and ”). The difference is subtle to human readers but very important to the compiler.
As an additional point, I'd recommend not including the line "using namespace std;" and instead changing the cout line to:
::: CODE :::
std::cout << "Hello!" << std::endl;
Including the whole std namespace is at best a bad idea and at worst may actually break things. Note that if the C++ book you has makes a habit of using that, you may need to figure out what needs the 'std::' placed onto the start of it (in general anything that you haven't declared in the code you've written will probably need it).