the 0x is to tell the compiler you're going to write HEXADECIMAL behind it.
0x10 means hexadecimal 10, which is 16 in decimal, you could also write 10h, which is the same as 0x10, so also 16.
behind 0x you put bytes, an addy is 4 bytes, so you do e.g. 0xAABBCCDD
but, if you look at that with olly it will say 0xDD 0xCC 0xBB 0xAA
so you could probably do this too:
which would be the same as *(DWORD*)0xAABBCCDD = 100; I guess(not entirely sure)Code:char addy[4] = {0xDD, 0xCC, 0xBB, 0xAA}; *(DWORD*)addy = 100;
As for your first question: Learn all of the basics, write small project like snake in a console app for example, and the most important part of the basics are POINTERS, make sure you know how to use them in and out! They are the most basic thing you must know for gamehacking, and now i am too lazy(and it's too hot) to write more here ^^