Guck dir mal das C-Tutorial bei Wikibooks an.