Simple little project:
I have two files, one text file and one binary file. The text file contents look like an ini file and holds, in one of its rows, the number of bytes into which the second file needs to be cut and saved. Another row in the text file holds the filename extension(s).
E.g., in text file (among other lines):
Now the binary file needs to be cut into three files, whose sizes are 28672 bytes, 843594 bytes, and 40960 bytes, respectively, and whose file extensions are doc, pdf, and doc, respectively.
Error checking should be done, and errors properly reported. I would like this to be a command line program.