C++ Language question
Posted on 1997-07-09
I have been since recently in C++-programming after
several years of turbo pascal. Now I've encountered a
problem that I just can't seem to solve.
I used in tp the function blockread to read several bytes
at once in a memory block assigned by memalloc.
the class I use in c++ is that of ifstream to open the
reserve x number of 16-bytes paragraphs with memalloc.
The thing I want to do is read n bytes in one time out of
the file opened by ifstream and place them in the buffer
assigned by memalloc.
someone knows how to solve this problem ?