Re: Suggested reading for learning C?

看板DFBSD_kernel作者時間21年前 (2004/09/11 21:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/10 (看更多)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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-----
文章代碼(AID): #11GlSI00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11GlSI00 (DFBSD_kernel)