So you want to learn to learn how to program? Perfect! The AP Computer Science Java course is a great introduction to programming that will walk you through standard topics that university/college students learn in their first few months of programming. You will learn Java programming language. You will be able to develop your own software and distribute it for fun or profit.
You will learn every important concept from creating a project and your own classes to inheritance and polymorphism.
If you are interested in creating your own games, you should take a look at Game Programming course for iPhone and iPad. It would be a good choice to start with Game Programming if you have never seen programming code before since the pace is much slower.