• Member Avatar
    Vinayak_2

    Replied To a Post in havin problems with file io

    Hey 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[7]; char group[7]; fin.width(7); …
  • Member Avatar
    Vinayak_2

    Began Watching havin problems with file io

    hello, 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. …
  • Member Avatar
    Vinayak_2

    Replied To a Post in havin problems with file io

    Hi, I am facing the same problem, I would be grateful if you could tell me how did you solve it. Thanks!

The End.