yep, thats exacly what I mean. been searching for answer for like 3 days now.
Type: Posts; User: sharp_wan
yep, thats exacly what I mean. been searching for answer for like 3 days now.
I know what you mean, believe me. i've read the documentation and stuffs. but my question is how to get the JPEG file or any file without using fopen. I know fopen has command "a" to open the already...
ah, thats explain why memcpy not a good choice for this task...hmm...so fread should be able to read a JPEG file isn't it? How to read it though?
FILE* pFile;
char * buffer;
long lSize; ...
I have read the documentation but i still need some example, such as,
let say i want to memcpy the JPEG picture in My Documents, and i want to put the JPEG into a buffer[200], what should i put in...
I see. So, is there any suggestion of how i can read any file from the computer and put it into variable or array? which one the best? My idea now is to use fread function and then put this into a...
Regarding the fucntion below:
void * memcpy ( void * destination, const void * source, size_t num );
for the source, can I use other than string to be copied? As example JPEG file? or TEXT...
Ow i see, so this only possible for windows right? Sorry I forgot to mention that I'm using Linux Fedora 15.
Hi all,
I have a problem where i want to create a program to read a file from computer and i want to read that file. I've figure out how to read the file using fread funtion. Another problem however...