It's because you don't even know how to code, how you are supposed to know how to make a cheat?
That error is because your compiler didn't found that header/lib... (guess what..., that is wrote on the error, WOOOOW)
Download DirectX SDK and include that SDK at your "cheat"/pasta project.
Cool pasta video for help you: