Unter
http://www.mikrocontroller.net/articles/c/
findest du ein Tutorial. Auf der Seite gibt's auch 'ne Linksammlung.