|
|
12 34 76 82 10 55 76 88 33 65 |
|
|
Numbers in array are: 12, 34, 76, 82, 10, 55, 76, 88, 33, 65, The reversed numbers are: 65, 33, 88, 76, 55, 10, 82, 76, 34, 12, Press any key to continue... |
for
loop serves no purpose, the only thing that's doing something is your while loop.Also, just making sure, when one is using Microsoft Visual Studios to do the whole file thing, the file you are using is supposed to be opened just like opening a new item under Source Files, only that it is existing item right? |
inData.open("C:\Users\Username\Desktop\yourFile.txt")
|
|