I've been learning C++ on and off for the past year. I'm an intermediate programmer if I do say so myself, but one thing I don't understand at all is hacking. I want to create some cheats for some games, nothing illegal. I want to know how to create a Hack/Cheat. I read a for dummies book on c++ a while ago. And it briefly talked about how dynamic link libraries are programs that you make to run with other programs. Is that what people use to hack?
To be a hacker, you really need to understand the low-level concepts of computer science.
If you're playing an online game, you can figure out what type of information is being sent between your client and the server by using wireshark, examining the packets, and empirically deduce what is there. Once you've found the patterns and can emulate a client or server, you can make your client or server do anything.
Another thing that is often done is exchanging the exectuable so that you only change specific parts of the game. Often an executable will perform only minimal functionality and is mostely responsible for loading the various DLLs that run the game. You could translate the machine code of the executable into something higher-level (asm, maybe even C) and from there you can choose to add your own DLLs or to exclude other ones (specifically excluding registration keys).
One thing that people sometimes do is "bot" the game. There are people who modify the executable just enough so that instead of accepting keyboard and mouse inputs, it accepts scripted commands. For example, you may find a pattern of "click on this pixel, activate this ability, click on a pixel of this colour" which will always grant you a pick-up of gold or something, by putting this in a script and running it from the game, you've just botted the game.
Being able to see through walls or see the entire map assumes that you have the data available somewhere on your client. To do this kind of hack, you'll need to reverse-compile whichever binary is responsible for the GUI and re-implement this specific paint function (perhaps you can make all surfaces of a specific type transparent or put a red dot on each player's forehead which sits above the other layers to give you a wall-hack.