how to read integers from a binary file

closed account (SwRXjE8b)
i need a help to know how to read integer value from binary file and store it in a integer buffers. later i read integers from this buffer and do some processing.

Reading from file:
http://www.cplusplus.com/doc/tutorial/files/
The section about Binary files is in the last part.

To store the number you can use a vector.
http://www.codeproject.com/Articles/20930/The-complete-guide-to-STL-Part-Vector
Topic archived. No new replies allowed.