mardi 4 août 2015

How can a bitwise operator be used to read a file?

I'm trying to read from a .dat file using the following code:

ifstream input_file; 
double x;
while (input_file >> x) {...}

I don't understand how this actually works though - input_file >> x seems like it's using the right bit-shift operator. In what way does that actually read the file?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire