#define's Profile User Rating: *****

Reputation: 1348 Grandmaster
Group:
Expert
Active Posts:
4,645 (2.27 per day)
Joined:
19-February 09
Profile Views:
42,794
Last Active:
User is offline Today, 02:41 PM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
PC
Your Car:
LandRover
Dream Kudos:
0
Expert In:
C/C++

Latest Visitors

Icon   #define has not set their status

Blog entries

#define's Blog > A quick look at reading, all the data until the end of the file. In C++ using the input file stream.

Posted 06 September 2011

Assuming a filestream fstrm say :

ifstream fstrm;


Probably most learners would do some such thing :

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

Read Full Entry →

My Information

Member Title:
Duke of Err
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Delta Quadrant
Years Programming:
12
Programming Languages:
C,C++,HTML,CSS

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

Page 1 of 1
  1. Photo

    GryphonClaws Icon

    10 Jan 2013 - 01:15
    Thanks #define. I can't believe I missed such a simple detail.
  2. Photo

    raghav.naganathan Icon

    07 Nov 2012 - 20:40
    Dude...before your reputation changes, I would like to tell you that it(729) is a perfect cube :) Cheers :)
Page 1 of 1