[oclug] C Tutorials
John Gluck
jgluckca at home.com
Sun Aug 26 17:15:26 EDT 2001
Hi Dave
The old K&R style C is what I cut my C programming teeth on in the early
80's.
It allows all sorts of nasty things that ANSI doesn't.
In K&R you don't need prototypes, the compiler does not check that you are
calling a function with the correct number of parameters or that they of the
correct type.
I would not recommend using K&R for doing development. Knowing it is ok
since you may run into some very old code.
All that said, I think a good book is probably the best way to start.
John
Dave Edwards wrote:
> Hey Gang,
>
> Does anyone know of any good online ANSI C language tutorials? In a
> thorough search, I downloaded two ( www.strath.ac.uk , and bwk-tutor )
> and dicovered that they deal with K&R C, rather than ANSI C (bwk-tutor is
> an introduction by Kernhigan himself, and dates from 1974). Will I be
> lead too far off the beaten path by studying K&R C?
>
> Thanks,
> Dave.
> --
> PGP Public Key http://www3.sympatico.ca/amoamasam/dle-public-key.asc
> ``Science fiction and nostalgia have become the same thing.''
> --T-Bone Burnett
> _______________________________________________
> oclug mailing list
> oclug at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug
More information about the OCLUG
mailing list