Parsing the name of constants from a fileAh, thank you! Totally forgot about maps. This is basically what they were made for.
Parsing the name of constants from a fileWhoops, should have been more clear. I don't want to actually have the line
x = INTEGER_NUMB...
Parsing the name of constants from a fileSo, let's say that I have
const int INTEGER_NUMBER = 4;
and I'm parsing i...
Duplicate entries in a vectorSo, this is similar to the last question. I'm parsing a file into a vector, but whenever I add a new...
Vector losing itemsAh, that fixed it, thanks. I forget that vectors are not inherently references like arrays are.
This user does not accept Private Messages