User profile: oghmaosiris

User info
User name:oghmaosiris
Email:[email protected]
Name:David
Location:Kansas City
History
Joined:
Number of posts:157
Latest posts:

user input from keyboard
You aren't assigning the remaining hp for the ninja back into the ninja's hp. And you didn't make...

Strings replace word in file
maybe getline would work.

Strings replace word in file
[code]while (fin) { pos=line.find("foo",0); line.replace(pos,3,"x...

Reading from txt file and putting into array
Why do you need a 2d array?

Allocating and Array with "new"
http://www.cplusplus.com/reference/std/new/operator%20new%5B%5D/