Chapter 13: Problem 37
Write program code to access individual fields of records under each of the following circumstances. For each case, state the assumptions you make concerning pointers, separator characters, and so forth. Determine the type of information needed in the file header in order for your code to be general in each case. a. Fixed-length records with unspanned blocking. b. Fixed-length records with spanned blocking. c. Variable-length records with variable-length fields and spanned blocking. d. Variable-length records with repeating groups and spanned blocking. e. Variable-length records with optional fields and spanned blocking. f. Variable-length records that allow all three cases in parts \(c, d,\) and e.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.