You're assigning integers to strings. That won't work (not the way you want it). You need a stringsteam to convert string to int as well as int to string. Use the stringstream's str() method.
That's not what I meant. Why did you post those lines?
I'm doubt it is a good idea to hold your integers in strings (except when you print them), but let's ignore that for now.
Let's say you have a string and want to add 1 to it.
1 2 3 4 5 6 7 8
std::string str = "1";//this isn't smart at all...
std::stringstream s1(str);
int val;
s1 >> val;
val += 1;
std::stringstream s2;//you can (should) reuse s1
s2 << val;
str = s2.str();
I'm using strings because I'm getting words, integers and sentences from data.txt, so this is easiest way to do it, then I wanna change string which I've got from data.txt (0) to int and then get HpRunes from file (0 too) and do 0+0 (later you will have more runes so it will be 0+10, then 10 + Runes etc, but I'm getting NULL everytime, even if I have 10 runes... (it should be 10)