lBei WinAvr programmierst du mit der Sprache C. Für ein Tutorial kannste hier mal schauen:
http://www.mikrocontroller.net/artic...R-GCC-Tutorial