O'Reilly logo

Extending MFC Applications with the .NET Framework by Nishant Sivakumar, Tom Archer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required