My C++ Loop is not working Properly, and I can't figure out why
I’m trying to write a program that copies (from an input.txt file) 30 lines to one file, then loops and copies the next 30 lines to a second file, then the next 30 to a 3rd file, etc. etc. This is what I wrote to try and make that happen: #include <iostream> #include <fstream> #include… Read More My C++ Loop is not working Properly, and I can't figure out why