using input and output files

bainofmyexistance (21)
thank you.
Last edited on
coder777 (2550)
You read and write to different files.

Input "assign5data.text" vs. "assign5data.txt"
Output "assign5.text" vs. "assign5.txt"

Further more in printarray() you keep overwriting the content of the file each time you call printarray()
Topic archived. No new replies allowed.