DragonFly kernel List (threaded) for 2004-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Suggested reading for learning C?
On Sat, 11 Sep 2004 14:51:37 +0200, Emiel Kollof
<coolvibe@xxxxxxxxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
Best way to do it is to read the ANSI standards, if you can get your
hands on them. Obviously they don't fall under the category of "light
reading," but then if you're doing a router table, that shouldn't
scare you too much ;)
> On Saturday 11 September 2004 09:11, Matthew Dillon wrote:
>
> > Well, I think if you are an experienced programmer in other general
> > purpose languages then C will be fairly easy to pickup, but I can tell
> > you that doing a route table is not an easy project (even for me!)
> > so you are going to have your work cut out for you! C is a very
> > unforgiving language when it comes to mistakes :-)
>
> Amen to that, and especially in the kernel, where a mistake can panic your
> kernel and you need to reboot :)
>
> @jcoombs: Seriously though, the K&R book is a very good book to learn C from
> even if you just start out with programming. Another good book is "C, The
> Complete Reference", by Herbert Schildt, but do look for an errata somewhere,
> since it does contain some mistakes. However, if you find the mistakes
> yourself, you could already say you are getting better at it :)
>
> If you are a programmer, then "ANSI C for programmers" by Robert Love is
> another good reference. It can be found here:
>
> http://www-h.eng.cam.ac.uk/help/tpl/languages/C/teaching_C/
>
> That will get you up to speed with the language quickly. That document
> certainly helped me out when I was still a pascal-guy :)
>
> Cheers,
> Emiel
> - --
> "BASIC is the Computer Science equivalent of `Scientific Creationism'."
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (FreeBSD)
>
> iD4DBQFBQvTZ4hAlCajuF/wRAlncAKCMg3CyVS+5JVDsQ+yWeJu23cp1zwCXTdxW
> kQ+hIpJ7MU8TjNy+8T40VQ==
> =mHbF
> -----END PGP SIGNATURE-----
>
>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]