Jack
2009-11-26 06:30:22 UTC
Dear gurus,
1) When open a file with CreateFile, how can I tell that
the file has reached the end (EOF)?
2) std::vector<BYTE> vBuffer
vBuffer.resize(???);
or PBYTE vBuffer = new BYTE[???];
When I hava an unpredicted size situation, how
can I let the compiler assist me to handle it automatically?
Thanks
Jacl
1) When open a file with CreateFile, how can I tell that
the file has reached the end (EOF)?
2) std::vector<BYTE> vBuffer
vBuffer.resize(???);
or PBYTE vBuffer = new BYTE[???];
When I hava an unpredicted size situation, how
can I let the compiler assist me to handle it automatically?
Thanks
Jacl