Learn the proper way. (VM answer)
This question has been asked multiple times already.
Get a book, learn C++ or C, whatever (Or watch tutorials from videos, it seems to work for some people But I feel like that you are learning nothing)
After finishing that book, read it again, be comfortable with it.
Then start looking into WinAPI functions and how to use them and then into simple memory reading/writing (By this time, come here again and I am pretty sure someone will help you)
Also if you had 1 min of searching you could have found answers to this question.
http://www.mpgh.net/forum/31-c-c-pro...ml#post6457995 (This one was added after this thread)