If by "program" you mean, "how to compile a source code", use an IDE like Microsoft Visual Studio 2015. Try to learn a language before doing anything on any games and try to find answers by yourself everytime.
Good luck !
Implement pattern scanning and use a signature to scan for your offsets.