Well, nearly all people who create hack thought them on their own/searched on their own.
In what language do you want to program in?
What kind of hacks do you want to create?
If you can answer the first question, go to youtube and watch some basic tutorials, afterwards grab an e-book and read threw. AFTERWARDS, if you have any further questions left, feel free to ask.