Ask coding questions

← Back to all posts
writing to files help
demacedone (1)

I have a problem, I'm trying to write things to a file. The things I'm writing to a file need to be put into a loop, and I only want there to be 14 iterations of the loop. And the loop goes through 14 times just fine. But for whatever reason, it doesn't write to the file.
However, if I put no bounds on the loop (making it go forever) it writes just fine. Same goes for a large amount of iterations.

Can I get some suggestions?

ash15khng (415)

It works just fine for me?