EmperorFool
Deity
I don't see the problem right away, but then I didn't quite understand what is happening. Can you be much more specific about what you expect and what you get?
Here are some more tips.
Instead of comparing to an empty string, check if it's empty:
Double-check that it's empty() by hovering over it after typing it in. If it returns bool, it's correct. If not, use "...size() != 0)".
You can use <string>.clear() to reset it to "" instead of assigning "" to it.
Here are some more tips.
Instead of comparing to an empty string, check if it's empty:
Code:
if (... && !paszCivicAttitudeReasons[iJ].empty())
Double-check that it's empty() by hovering over it after typing it in. If it returns bool, it's correct. If not, use "...size() != 0)".
You can use <string>.clear() to reset it to "" instead of assigning "" to it.
Code:
paszCivicAttitudeReasons[iJ].clear();