Hi everyone,
I am trying to go through every text file in one of my directories, all with names that vary slightly, to create a table from that information but I am not sure how to access more than 1 file.
When you create a file pointer, you need the file name as well as the mode for the parameter, and I'd like to be able to go through all the files without having to know their names, though the only difference between the files is the time stamp that is attached to the end of the name.
Once solution that I thought of but was not sure if works was after going through that files data, record the number of bits in that file, and increment the file pointer by that many bits.
Is this the right approach to this problem or does this actually not work, is very crude, or there is a method many times better?