Ignore the comment '/* Mod' I didn't finish the comment.
int is_numeven(int number) { if(!(number % 2)) /* Mod return true; return false; } int SumThreeNumbers(int num1, int num2, int num3)...
Thank you.
But then indeed, calls to fseek() can be confusing. I usually write my own string functions for correct parsing and text formatting to prevent...
I just decided I'm going to use binary mode everywhere unless I need text mode, just like you do, thanks for great info :) It's great the UNIX...
Opening the file in binary mode fixed it, however this wouldn't be needed on a UNIX system.
I think I might have found it out by myself. Thinking about the EOF byte in Windows, (EOF = End Of File) Windows sees the byte 0x1A as the EOF...
I think I discovered a bug but I'm not sure. fread() failed when I use fseek() to set the file pointer to some offset at the offset I set it...
yep, thanks though :)
nvmind guys(or girls) i found it out by myself: fseek(fHandle, ((IMAGE_DOS_HEADER *)pMem)->e_lfanew, SEEK_SET); only 1 line of code...
I've got a question about typecasting. The next two lines of C code, do not give any error: IMAGE_DOS_HEADER * image_dos_header =...
Separate names with a comma.