Arvvm Devs svvm Tetenditarquer.net
arquer en la red

Learn C by examples in just 5 hours

Some notes

Credits: This tutorial has been mainly taken from: http://johnt.tripod.com/c.html and slightly modified for accuracy and readability reasons.

To learn a bit of C you will need a 'C compiler'. Not mandatory, but very usefull, will be an IDE (Integrated Development Environment), google for some free c compiler out there and install it before further reading this tutorial. Working with code is really the only way to progress.

If your google search does not result well, there are some places to go for usefull development and learning tools:

Some of the code provided here is just for reference and some is functional. All functional code has been tested with lcc-win (http://www.cs.virginia.edu/~lcc-win32/).

Note that there is no error handling in the examples shown bellow, so be careful when you input data.

You will see comments in the code from time to time, not too much but some. Take a look at this paper: Excuses for not writing comments.

C tutorial on-line

Have you always wanted to master a programming language?.
Well, today, if you are glancing at this page, you have chosen a language which perhaps without doubt is the most versatile.
But to learn C for say basic programmers is a challenge. While the old basic used interpreters, C uses compilers and basically is very portable.
But let quit all this jibrish and get to the heart of this page. I say you can learn C programming in 5 hours.
Well at least the basics that will help you to build more powerful programs.
You say I can't show you C in 5 hours?. Well let's test that ...

Let's begin: First hour