View Single Post
  #2 (permalink)  
Old March 30th, 2004, 11:35 AM
davekw7x davekw7x is offline
Authorized User
 
Join Date: Feb 2004
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote