Variables is one of the most important part of programming, and millions of applications are using this technique. Cheat engine provide to the user the access to the memory and modifying data.
About cheat engine:
Cheat Engine, commonly abbreviated as CE, is an open source memory scanner/hex editor/debugger created by Eric Heijnen (“Dark Byte”) for the Windows operating system.[3] Cheat Engine is mostly used for cheating in computer games, and is sometimes modified and recompiled to evadedetection. This program resembles L. Spiro’s “Memory Hacking Software“, TSearch, and ArtMoney. It searches for values input by the user with a wide variety of options that allow the user to find and sort through the computer’s memory. Cheat Engine can also create standalone trainers that can operate independently of Cheat Engine.
Source: Wikipedia
I will show in this video an easy way for beginners to learn “how to control variable in the memory after compiling the code”.