Subscribe to #define's Blog        RSS Feed
- - - - -

A quick look at reading, all the data until the end of the file. In C++ using the input file stream.

Icon Leave Comment
Assuming a filestream fstrm say :

ifstream fstrm;


Probably most learners would do some such thing :

while( !fstrm.eof() ){  fstrm >> variable;  cout << variable << endl;}
...

Page 1 of 1

September 2014

S M T W T F S
 1 2 3456
78910111213
14151617181920
21222324252627
282930    

Tags

Search My Blog

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)

Categories