You may have to update the address in the code posted.
Also, for the tutorial, you should go a little more indepth with the PushToConsole function. Like, what's __cdecl doing there? Why is it needed? Multi level pointers. Functions as a whole.
If you're new to C++ and you follow this tutorial it's basically leech until you've understood everything, or at least trying to.
By the way, __cdecl is a calling convention, the cleaning of the stack after a function is returned is based of which calling convention the function returning is.
Otherwise, great tutorial CN.