next up previous contents index
Next: File Output Streams ( Up: Simple Data Types and Previous: Strings ( string )

     
File Input Streams ( file_istream )

Definition

An instanc I of the data type file$ \_$istream is an C++istream connected to a file F, i.e., all input operations or operators applied to I read from F.

#include < LEDA/stream.h >

Creation

file_istream I(char* s) creates an instance I of type file_istream connected to file s.

Operations

All operations and operators (> >) defined for C++istreams can be applied to file input streams as well.



LEDA research project
1999-04-23