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);
fin>>ufo;

fin.width(7);
fin>>group;

puts(ufo);
puts(group);

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