Stream, Readers, and Writers in .NET
The System::IO namespace provides a set of classes for file and file-content manipulation. Included in these types are classes that implement stream, writer, and reader behavior. As these concepts are new to most MFC developers, I'll first present an overview of these types and then move into a couple of demo applications in order to illustrate their use from MFC applications.
A stream is an abstraction of a sequence of bytes that might be represented by such entities as a disk file, an input/output device, or even a TCP/IP socket. (Where the data is actually stored is sometimes referred to as the stream's backing store.) The point is that the stream itself abstracts, or isolates, the programmer from the technical ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access