Hi, I asked you guys earlier how to change ascii to integer, and you guys helped tremendously.
I finished my file, but it is giving me seriously strange output.
I was wondering if someone could look it over and see what might be wrong.
http://pages.prodigy.net/lecaswell/_...rjectFINAL.cpp the code
http://pages.prodigy.net/lecaswell/_images/project1.dat the data file I'm reading from
Any help would be much appreciated.
Basically, I need to read in the name, the age, and each hole of a golf course. It reads the name ok, but the age and scores go crazy.