Hello I have this code I've been working on and I was wondering if anyone had any suggestions for me in regards to not using atoi. I don't like mixing C with C++ but I'm stumped on the work around.
Heres the psuedo if you need more of the source let me know:
.
.
.
char onescore[26];
while(!inputFile.eof())
{
inputFile.getline(onescore,26,',');
int score = atoi(onescore); //Convert str to int