Well, like most programs, there are three parts to the assignment:
Input
Processing
Output
I don't understand any of them.
Input: What is the nature of the input file?
Is it a text file (ascii characters for the numbers, separated by spaces, all on a single line)?
(This file will be 94-96 bytes long, depending on whether there is a line feed and/or a carriage return at the end.)
Is it a binary file, with 65 bytes, each with the value you have shown.
(This file will be 65 bytes long.)
Or what?
Processing: What do you mean by "Parsing it"?
Do you mean: "get the first five bytes, then get one byte, then get 65 bytes, then get two bytes"?
Or do you mean: "get the first five bytes, then get a number of bytes determined by the integer value of the combined fourth and fifth bytes, then get two bytes"?
Or what?
Output: Do you mean "put out the hexadecimal values of the first five bytes on a line, separated by spaces, then put out the sixth byte on a separate line, then ..."?
Or what?
Dave
|