Data streams are actually wrappers on existing input and output streams. They are inherited from the filter streams, which in facts are the wrappers. Ordinary input/output streams can work only with bytes. Filter streams gives the capability to work with integers, doubles, strings etc.
Exercise: Write a program that writes and reads from a binary file using data filter streams.
John 85.5 Jim 185.5 George 105.5
Download Code: Data Stream
No comments:
Post a Comment