GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
tutorial
>
TEXT_FILE_READ_EXAMPLE
+
Point of view
All features
ANY
All features
class TEXT_FILE_READ_EXAMPLE
Summary
top
This example reads a text file character by character and puts each character on the screen.
If you compile and run this class in the current working directory, you'll see this file !
In order to read a file, read a character and then use last_character ONLY if if end_of_input has not been reached while reading the character.
More informations in the FAQ.
Direct parents
Insert list:
ANY
Overview
top
Creation features
{
ANY
}
make
Features
{}
make
make
effective procedure
{}
top