Murach's C++ 2008
How to work with files and data streams

Most Windows applications require that you work with data of some kind, including data that's stored in disk files. So this chapter shows you how to work with two different types of files: text and binary.

Chapter 17 How to work with files and data streams
An introduction to the System::IO classes 478
The classes for managing directories, files, and paths 478
How files and streams work 480
How to use the FileStream class 482
How to use the exception classes for file I/O 484
How to work with text files 486
How to write a text file 486
How to read a text file 488
A class that works with a text file 490
How to work with binary files 492
How to write a binary file 492
How to read a binary file 494
A class that works with a binary file 496




Murach's C++ 2008

Learn more about this book

View the table of contents


More about the eBook



Our 100% Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a prompt refund...no questions asked.