in what programming language? 
C, C++, C#, java, javascript, php, ruby, delphi, python? 
 
one you know how to program in one language, getting to know how to program in other languages would be much easier and faster. 
 
as a beginner, i would recommend C or python. Python would be much easier to understand.  
 
for python, maybe you can try this 
http://docs.python.org/2/tutorial/ 
http://www.toonzcat.com/book.html |