Page 1 of 1

Pointer

Posted: Sat Jun 25, 2016 11:03 am
by Gangrenous
As some of you probably have figured out, I have zero format training in any type of SQL, programming, scripting so most of the time I am at a disadvantage. I have to learn as I got, and ask a ton of questions. Question of the day...

Is this a pointer?

Code: Select all

vector<Spell*>* spells
And a line like this at the bottom of a routine...

Code: Select all

safe_delete(spells);
That is freeing up the memory, otherwise it would cause memory issues?

Re: Pointer

Posted: Sat Jun 25, 2016 2:39 pm
by Jabantiz
Correct on both.

The "*" means it is a pointer.