As the C language is the basic of all the languages ,
I think you'd find a fair number of people who'd argue *that* one.
here is the nice
tutorial from which you may start learning it C.
there are few good online tutorials for C. I believe Steve Summit
produced a good one. This one is very pretty.
In summary it is too old and too DOS oriented to be recomended. It is
not suitable for a beginner. I gave up skimming it around chapter 12.
It's a nice tutorial
in the pdf format which you can also download it for
free.
http://www.ezdia.com/C_Tutorial/Content.do?id=736
It has a faintly old fashioned style to it. "if your disk is less than
800K..." "you cann't use more than 8 characters in an identifier" "
experienced C programmers tend not to use underscores" frequent
mention of Pascal.
After three or four examples they still
- have no return value from main
- use printf() without a prototype
"A general rule of thumb for modern compilers is that char is at least
8 bits, short is at least 16 bits, long is at least 32 bits,"
"As a consequence, you should use either short or long in preference
to int (despite
its heavy use in this tutorial), and should avoid double where
possible."
[if you shouldn't use int why are they using it?!]
section 5.1 use of K&R style function definitions. Use of functions
without a prototype in scope. This probably kills it as a reasonable
tutorial on modern systems.
#define WRONG(A) A*A*A /* Wrong macro for cube */
#define CUBE(A) (A)*(A)*(A) /* Right macro for cube */
could do with another set of brackets
"A string is a group of characters, usually letters of the alphabet."
pointers and strings stuff is a little confused (section 8.8)
chapter 9 we finally get standard headers!
# include "/sys/stdio.h"
use of <> includes depracated!
section 9.7 very bad advice on handling line terminators. Non-DOS
systems are described as "non-standard".