Original Post
Sanity Check...
void ParseString(const std::string& a_Data, CObject* a_Parent, size_t& a_CurrentOffset)
{
a_Parent = Something
}
Once the function exits the pointer passed in, a_Parent loses it''s value. It''s like it''s say an int being passed by val. ... but it''s a pointer. I thought it didn''t matter.
Have I lost it? Does it always work like this? Have I just never passed a pointer in to a function before and it always does this?
I''m a bit embarresed even asking this...