Well I've been trying to get a code to loop a customer ID number, where it adds one each loop. I then wanted this number to become the title of a .txt that would display the customer or user's transaction.
My problem is that the string won't become flushed, and it just keeps compounding the next loops id and ".txt" making the first file name 1.txt and the second 1.txt2.txt . A simple ID.flush(); doesn't seem to do the trick, what am i missing??