Chapter 19: Working with Files


Download CD Content

Overview

In this chapter, you will learn how to:

  • How the Microsoft Windows .NET Framework performs input/output (I/O)

  • Which classes that make up the System::IO namespace

  • How to perform text I/O

  • How to read and write files

  • How to work with files and directories

  • How to perform binary I/O

You’ve already used the Console class to perform I/O to and from the console. This chapter will introduce you to the System::IO namespace, which contains the classes, structures, and enumerations that implement the Microsoft .NET I/O model.

Note

If you know anything about the Java I/O mechanism as implemented in the java.io package, you’ll find it easy to start working with .NET I/O because the two have many similarities.




Microsoft Visual C++  .NET(c) Step by Step
Microsoft Visual C++ .NET(c) Step by Step
ISBN: 735615675
EAN: N/A
Year: 2003
Pages: 208

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net