Make website on your favorite topic and share your knowledge.
Work hard and generate traffic to your website.
Signup for Adsense, Media.net or any other affiliate to make money.
Common sense should tell you that if their was a way we would all be doing it and this question would not be asked dozens of times daily.
At least it gets us lots of points.
learn C++ and go to coding websites and bid for work.