June 2006
Intermediate to advanced
1344 pages
42h 52m
English
To retrieve data sequentially from a file, programs normally start from the beginning of the file, reading consecutively until the desired data is found. It sometimes is necessary to process a file sequentially several times (from the beginning of the file) during the execution of a program. A FileStream object can reposition its file-position pointer (which contains the byte number of the next byte to be read from or written to the file) to any position in the file. When a FileStream object is opened, its file-position pointer is set to byte position 0 (i.e., the beginning of the file)
We now present a program that builds on the concepts employed in Fig. 18.11. Class FrmCreditInquiry (Fig. 18.12) is ...
Read now
Unlock full access