Replied To a Post in havin problems with file ioHey mike_2000_17, Thanks for the input! I added the width statements but I am still reading garbage values, any idea why? ofstream fout("ride.out"); ifstream fin("example.txt"); char ufo; char group; fin.width(7); …
Began Watching havin problems with file iohello, i recently joined the USACO's training gateway [url]http://ace.delos.com/usacogate[/url] I made the first problem([URL="http://ace.delos.com/usacoprob2?a=n4y3olVXOJ9&S=ride"]http://ace.delos.com/usacoprob2?a=n4y3olVXOJ9&S=ride[/URL]) and it ran successfully in my dev-cpp compiler. but the online grader threw some runtime error. …
Replied To a Post in havin problems with file ioHi, I am facing the same problem, I would be grateful if you could tell me how did you solve it. Thanks!