Pointer

EQ2Emulator Development forum.

Moderator: Team Members

Post Reply
User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Pointer

Post by Gangrenous » Sat Jun 25, 2016 11:03 am

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?
Resident Dirty Hippy

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Pointer

Post by Jabantiz » Sat Jun 25, 2016 2:39 pm

Correct on both.

The "*" means it is a pointer.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests