there is no generic how-to do this kind of thing. You have to dig in and work it. Get a hex editor. Try to find what you want to modify, and how it is formatted so you can make a valid change. C++ may not even be useful, depending on what you want to do.
Pick the game you want to modify. Google what others have done to mod it. Start there.