hello
is there a way i can find out a files location in memory?
if i use
if i did "&fp", will that give me the location of the first byte of the file in memory?Code:FILE *fp; if((fp=fopen(fname,"w")) == NULL){ return 0; //return failure }
and suppose the file is 16 bytes long..can i cycle through each byte one-by-one and read/modify it?
-thanks




Reply With Quote