UGN Security
i.e. what command do you use?

Could anyone give me an example?
Say I wanted to open C:\mypic.jpg and C:\myapp.exe , both in Windows (using C++)

thanks
Well.. that depends, you can open a file in binary or non-binary mode.
I supose you want to open the files in binary mode, yes? Annyway

----------------------------
#include<fstream.h>
void main()
{
fstream filestr;
filestr.open ("test.txt", fstream::binary);
}
Thanks

(I *did* try looking through diff C++ guides first: most proved utterly useless)
© UGN Security Forum