Next topic | Ada Home Page | Index

Structured binary files

Text files have no structure. They are just a stream of characters. Programmers must give special meaning to certain characters to recognise the pages and lines in text files.

Structured binary files have a definite structure:

Since structured files are not stored as a sequence of characters:

Choosing to use structured files

when?

why?


Types of structured files

There are two forms of structured files. The difference is in how their elements may be accessed:


Comparisons

Direct files vs sequential files:

Which to use?

Structured files vs arrays:


Next topic | Ada Home Page | Index
c-lokan@adfa.oz.au / 23 Feb 96