Question #5747198
C++ Programming Question Help?
Write code which writes the elements of a that contain valid data to an output file named ints-reverse.txt, in reverse order. That is, the contents of ints-reverse.txt will be the same as ints.txt but the integers will be in reverse order. I have the initial program, I just don't know how to write this part. Here's the code: int array [99]; while (!fin.eof()){ fin >> "ints.txt"; fout >> a[99]; } Any help would be appreciated! :) Thank you
TELL US , if you have any answer