Original Post
Is there like a c++ equivalent to the fread function? Any kind of stream I can use to get the same effect. I realize ifstream has a read and readsome function, but the arguments are
ifstream::read(char *, size). I don''t want to load all char''s, I''d like to be able to do something more in line with the binary io available with fread, where they use the void * (maybe there is a templated ifstream function somewhere or something?). Anyone know the answer to this question?
ifstream::read(char *, size). I don''t want to load all char''s, I''d like to be able to do something more in line with the binary io available with fread, where they use the void * (maybe there is a templated ifstream function somewhere or something?). Anyone know the answer to this question?