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

July 2014

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728 29 3031  

Tags

Search My Blog

0 user(s) viewing

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

Categories