HEX edit files
I wanna open file for Hex editing and goto some adress in file like 0x235 or 00000235
And there I wanna change it's value to lets say FF.
HEX edit files
I wanna open file for Hex editing and goto some adress in file like 0x235 or 00000235
And there I wanna change it's value to lets say FF.
Sorry for spelling errors, not English!
xxxrugby: "All Human Race Will Die From My Hand!"
xxxrugby: "We are all philosophers, when question is about politics!"
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I have HEY editor. But I wanna chage something in file. That's always on same adess. And there I wanna change value.!
So I dont wanna open Hex editor every time. I just wanna start that exe file and he will open that file and modife it.!
Sorry for spelling errors, not English!
xxxrugby: "All Human Race Will Die From My Hand!"
xxxrugby: "We are all philosophers, when question is about politics!"
Code:#include <stdio.h> int main(void) { FILE *fp; unsigned char newval = 0xFF; if(!(fp = fopen("trash.bin", "rb+"))) { puts("Couldn't open trash.bin!"); return 1; } fseek(fp, 0x234, SEEK_SET); fwrite(&newval, 1, 1, fp); fclose(fp); return 0; }
If you understand what you're doing, you're not learning anything.
I wanna wanna wanna close this thread.
Man, what a fsjking stupid questuin - wahat sort of a ansa didya expect?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Why's that? Aren't you interested in finding out what a "HEY editor" is?Originally Posted by Salem
Typos have nothing to do with speaking English natively and you typo something fierce. Try proofreading what you type. Or do you just kind of throw your fingers at the keyboard and hope something coherent comes out?Originally Posted by xxxrugby
Last edited by itsme86; 08-31-2005 at 12:39 PM.
If you understand what you're doing, you're not learning anything.
Thanks itsme for code.! I forgot to read.!
Sorry for spelling errors, not English!
xxxrugby: "All Human Race Will Die From My Hand!"
xxxrugby: "We are all philosophers, when question is about politics!"