reply to files unreadable
The easiest way is to do it in binary. Though I do lots of windows programming I've never actually learned file i/o using windows functions so this will have to do.
#include <fstream.h>
ifstream ifile; //input stream
ofstream ofile; //output stream
void main()
{
ifile.open("file.myfile", ios::in | ios::binary);
}
reply to files unreadable
The easiest way is to do it in binary. Though I do lots of windows programming I've never actually learned file i/o using windows functions so this will have to do.
#include <fstream.h>
ifstream ifile; //input stream
ofstream ofile; //output stream
void main()
{
unsigned int whatever;
// if you want more info look in the msdn or message me or
// something
ifile.open("file.myfile", ios::in | ios::binary);
ifile.read((unsigned char *)&whatever, sizeof(unsigned int));
ifile.close();
}