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

2013-04-27 23:18:33

TELL US , if you have any answer

There is NEVER a problem, ONLY a challange!

The helpinganswers.com is a free-to-use knowledgebase.
  The helpinganswers.com was started on: 02.07.2010.
  It's free to register. Once you are a registered user, you can ask questions, or answer them.
  (Unless registration you can just answer the questions anonymously)
  Only english!!! Questions and answers in other languages will be deleted!!

Cheers: the PixelFighters

  Contact: support@helpinganswers.com

C'mon... follow us!

Made by, history, ect.