Posts by eukaryote
5 posts total, newest first.
Cyrillic letters.in C++/C Programming - Try "FindWindowW".how to write this pointer? [CE]in C++/C Programming - I am quite sure "GetCurrentProcess()" will return the process base address, I am no expert on the windows specific libraries though.For vs. While Loopsin C++/C Programming - [QUOTE=Sixx93;8542001]the FOR loop is the fastest one.[/QUOTE]. Not true as "while" and "for" loops in most cases result in the same set of opcodes.Reading from a file.in C++/C Programming - Unless the last byte/unit in the file is 0x00/null the array is never terminated.
"int r = fread(buffer,1,size,file);" overwrites "memset(buffer,0,size);"Infinite Precision Arithmetic Class [Incomplete]in C++/C Programming - "unsigned char* nPtr = (unsigned char*) &n" could lead to undefined behavior on certain systems, you should consider taking use of bitwise operations instead.
Good job though.
Showing the 5 most recent posts.