Almost every compiler will come with a wealth of samples/tutorials, not to mention the more than diverse help file that will explain/give examples for almost every command...
No two compilers are the same, download the free versions and have a read through the samples, take each as a learning experience
Thank you Gramo but as I said I have no problem with coding what I was looking for was a book or such like some thing I could plagiarise for the web site I work on www.protongeeks.com
I want to put together a tutorial on programming, from the basics up what a byte to correct structuring and how to think about approaching a programming problem.
I think it would be pretty naff to have a section "INTRO TO PROGRAMMING" then just say down load some samples and do it you self
As you posted in the microcontrollers section I assumed you wished to program one. In order to help in your quest, you need to indicate either a processor or a language.