Hello everyone,
I am not sure if c++ have class like DataInputStream (in java)? either from STL or boost.
That would be more handy than fstream.
Regards
Elton
Last edited on
Hi Wazzak
Isn't cin stdin?
I think I can use fstream.read((char*)xx, sizeof xx) to read from a file. That should be enough. Just wonder if there's any more handy api.
Thanks anyway.