Hi Guys,
I'm new to Windows programming and a friend gave me a (legit) copy of Borland C++ to use temporarily.
I have only a few samples, limited help, and have achieved a few small things.
What I'd like help with is a small routine to load a file into a u8 array,
and saved back to file again with the correct file size.
I know that the file opened will be no more than 10 Mb, so the array can be say
u8 filearray[109999];
and never overflow as long as the correct file type filter was used.
Any help would be much appreciated.
Art.
I'm new to Windows programming and a friend gave me a (legit) copy of Borland C++ to use temporarily.
I have only a few samples, limited help, and have achieved a few small things.
What I'd like help with is a small routine to load a file into a u8 array,
and saved back to file again with the correct file size.
I know that the file opened will be no more than 10 Mb, so the array can be say
u8 filearray[109999];
and never overflow as long as the correct file type filter was used.
Any help would be much appreciated.
Art.