I need to read exactly 32 bits from a file. I'm using ifstream in the STL. Can I just directly say:
int32 my_int;
std::ifstream my_stream;
my_stream.open("my_file.txt",std::ifstream::in);
if (my_stream && !my_stream.eof())
my_stream >> my_int;
...or do I need to somehow override the >> operator to work with int32? I don't see the int32 listed here: http://www.cplusplus.com/reference/iostream/istream/operator%3E%3E/