Hi,
Is there any function in <fstream> that reads n bytes from a file into a variable (of any type like int, char, etc.). I mean something like fread() in C. I found several functions in my book (like read() or readsome()), but they all read in a buffer of char*. What do I do if I want to read in an int?
Thanx...