Networking, Programming and Graphics Tutorials

Stream and file handling - C++ [1/1]

Type:
Stream and file handling - C++
Level: Expert Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials 
Stream and file handling - C++
Date: 2006-Dec-12
Stream and file handling - C++
Visited: 2653 times
Stream and file handling - C++
Rating: Stream and file handling - C++
Stream and file handling - C++
Author: Alex Plumpton

The C file system is designed to work with a wide variety of devices, including terminals, disk drives and tape drives. Even though each device is very different, the C file system transforms each into a logical device called a stream. There are two types of streams text and binary. A Text stream is a sequence of characters. A binary stream is a sequence of bytes with a one-to-one correspondence to those in the external device. It acts either as a source from which the input data can be obtained or a destination to which the output data can be sent. The concept is illustrated in the figure.

Stream and file handling - C++
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Stream and file handling - C++ [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: stream file handling + c++  File handling in C++ stream classes  File handling in C++ stream classes  +stream +file +stream +class +c++  class hierarchy for stream handling in c++  class hierarchy for stream handling in c++  c++ file stream  c++ file stream  file stream classes in c++  how to open a file in c++ using stream