Class problem

I was watching this tutorial:
http://thenewboston.org/watch.php?cat=16&number=55

I understood it all until about 6:10 when it shown a line of code like this:Enemy *enemy1 = &n;
I know what it is, but forgot what it means. Could anyone remind me, please?
Thanks for your time.
Last edited on
It means

"Create an object for me on the stack. The object is to be of type pointer-to-Enemy. Call this object 'enemy1'. Set this object's value to the-address-of-n."
Last edited on
Wow, that was fast! Thanks!
Topic archived. No new replies allowed.