| CMPSC 101 Ch. Resources | |
|
Demo Program #1 - to demonstrate opening a file for input and reading one piece of data from the file Demo Program #2 - to demonstrate opening a file for input and reading several pieces of data from a file Demo Program #3 - to demonstrate opening one file for output and writing several pieces of data to the file. Demo Program #4 - to demonstrate reading data from one file and writing data to another file. Demo Program #5 - to demonstrate reading data from a file, closing the file, and then writing to the same file. Demo Program #6 - to demonstrate searching a file for a specific number. Demo Program #7 - to demonstrate appending to an existing file. Demo Program #8 - to demonstrate a sequential search (currently unavailable) Demo Program #9 - to demonstrate inserting records in the middle of a sequential access file |
|