G
I'll try to explain the details of the external file.
Okay, part one. We're writing a program that reads in binary (not text!) regime file, and every byte records as an element of mass. See, for example, http://vpaste.net/LQpvw ♪Part 2. We're applying this program to the outside file, getting a file describing the area. Type unsigned char img[] = { 0x02, 0x15, ...♪ Even better, add the second variable type int img_len = ...♪Part 3. Put this file in the project. Where appropriate, we're talking to this body; for example, to record it again in the file--FILE * f = fopen("out","wb");
if (f) {
fwrite(f,img,1,img_len);
fclose(f);
}
Like that.