Maybe get sourcecodes from other cheats and when you've an understanding of C++ and various other languages, you'll be able to understand the code, therefore assisting you? Sorry, this answer is pretty vague.
I mean, as long as you don't paste, you're solid.
The majority just learn from creating pastes, so if you do that - please don't upload it unless you've any unique features. :P