O'Reilly logo

Visual C++ 2008: How to Program, Second Edition by D. T. Quirk, H. M. Deitel, P. J. Deitel

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

Chapter 18. Files and Streams in .NET

 

I can only assume that a “Do Not File” document is filed in a “Do Not File” file.

 
 --Senator Frank Church Senate Intelligence Subcommittee Hearing, 1975
 

Consciousness ... does not appear to itself chopped up in bits. ... A “river” or a “stream” are the metaphors by which it is most naturally described.

 
 --William James
 

I read part of it all the way through.

 
 --Samuel Goldwyn

OBJECTIVES

In this chapter you will learn:

  • To create, read, write and update files using C++/CLI.

  • The C++/CLI streams class hierarchy.

  • To use classes File and Directory to obtain information about files and directories on your computer.

  • To become familiar with sequential-access file processing with managed code.

  • To use classes FileStream,

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