EmperorFool
Deity
Ah, they are not actually arrays but STL vectors. This means they are not pointers, and you don't have to check them for NULL (they can't be). You can check to make sure they're not empty, though.
If "empty" doesn't compile, check that "size() != 0" instead.
Code:
if ([B][COLOR="Red"]!m_aszPrereqOrCivicsforPass3.empty()[/COLOR][/B])
If "empty" doesn't compile, check that "size() != 0" instead.
Code:
if ([B][COLOR="Red"]m_aszPrereqOrCivicsforPass3.size() != 0[/COLOR][/B])