What are some good books on C?

This is a discussion on What are some good books on C? within the C Programming forums, part of the General Programming Boards category; Hello, everyone! What are some good books on pure C? What are some good books on OS Design? What are ...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    61

    What are some good books on C?

    Hello, everyone!

    What are some good books on pure C? What are some good books on OS Design? What are some good books on building a kernel? What are some good books on ASM?

    I do not have Linux, or Unix, or any BSD. I have XP. What would come first to learn as in C, OS Design, building a kernel? I assume learning ASM would be last? I am looking into books.

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I do believe this is an FAQ question or a sticky or other thing. I like the C Programming Language, though it really depends on what you are needing from a C book. The book I mentioned is more detailed on syntax and form. I highly recommend you try out a few OSes to decide what it is that makes some easy to use, and other ones a piece of crap. Why is it some people struggle with SuSE and noobs fly through Linspire. How come Windows 98 was so easy to use, and Windows Vista is a flaming dog crap (by that I mean it looks cool from far away, but when you get close you can detect how much it stinks)? So OS design may be greatly aided if you have some idea as to how to define what it takes to be a well designed OS.

    Building a kernel eh? Just grab some old Linux kernel source and familiarize yourself with the code. No book will do any better a job than that. Why do I recommend Linux kernel? Because at the kernel level OSes are basically the same and I would say look at the Mac OS X kernel but how are you going to get that source?

    I still say that the documentation packaged with MASM is as good of a book as you could ever ask for. If it makes you feel better, just print it out.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    6
    In my humble opinion... you only need one book really,
    "The C programming Language", Brian W. Kernighan and Dennis M. Richie

    You won't find OS stuff in there, but for that I'll buy a separate book.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Sparky View Post
    In my humble opinion... you only need one book really,
    "The C programming Language", Brian W. Kernighan and Dennis M. Richie

    You won't find OS stuff in there, but for that I'll buy a separate book.
    I'd disagree. K&R is a good REFERENCE, but it is certainly not a good book to learn the language from. It is far too terse and brief. I'm not sure what book to recommend, as it has been several years since I studied C.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    There is a huge sticky at the top of this forum...

    C Book Recommendations -> C Book Recommendations

  6. #6
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    Quote Originally Posted by Sparky View Post
    In my humble opinion... you only need one book really,
    "The C programming Language", Brian W. Kernighan and Dennis M. Richie

    You won't find OS stuff in there, but for that I'll buy a separate book.
    K&R is the absolute worst book to start with as a beginner. Like matsp said, it's a great reference once you know C.
    Get yourself a book like "Teach yourself C in 21 days" or something similar. Don't use any book that comes with a compiler on CD, those are almost always rubbish. You can get excellent compilers for free from the net, as well as IDEs.

    QuantumPete
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,891
    Quote Originally Posted by master5001 View Post
    ...and Windows Vista is a flaming dog crap (by that I mean it looks cool from far away, but when you get close you can detect how much it stinks)?
    Did you try it?
    When?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Well its been years... I mean at my age it is a tad immature to be leaving dog crap on a door step--oh wait...

    Please do not even get started with pro-Vista rhetoric. I will just ultimately put my fingers in my ears and hum loudly. You and I do not quite see eye to eye about microsoft anyway.

  9. #9
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,891
    Well, it's fine to say you don't like it, but it's not fair to say it's crapware if you haven't tested it. Vista was pretty bad when it was first released, but it's gotten better recently. Perhaps not as good as XP in everything, but it's decent. I know because I use Vista.

    So, let's be fair. If you don't like it, just say you don't like it, but don't badmouth (it's crap! etc) it if you haven't tried it out with SP1 and all.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  10. #10
    Registered User
    Join Date
    Jan 2008
    Posts
    287
    o.O ... Trying out several OSes is not going to give a very good idea of how to design an entire OS. Unless of course you think the shell you're interacting with IS the OS.

    If you want a decent OS neutral book, I thought Gary Nutt's "Operating Systems" was decent. It's not the best book I've ever read, but I learned a few things. (I wouldn't buy it from Amazon though... I think I bought a cheap international soft-cover for around 30-40 dollars, brand new on Amazon its 120!! Screw you American publishers.)
    http://www.amazon.com/Operating-Syst.../dp/0201773449

    The Windows Internals books do a pretty good job of explaining what goes on inside Windows, but the primary goal seems to be learning to get the most out of Windows, not learning to design an operating system. Their latest edition (5th edition) covers up to Vista and Server 2008. I own the 4th edition which covers up to XP, 2000, and Server 2003.
    http://www.amazon.com/Windows%C2%AE-.../dp/0735625301

    I would have to say I'm very glad I bought the Windows Internals book, and its relatively cheap (~40-50 dollars) compared to a textbook being used in schools (~100-120 dollars).

    I'd say that claiming Vista is a flaming dog crap is highly opinionated, and unfortunate as you seem to be passing it off as a nonchalant fact. Vista behaves almost exactly like XP in my opinion, with a couple very minor differences that I certainly don't think warrant a "flaming dog crap" comment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. In a game Engine...
    By Shamino in forum Game Programming
    Replies: 28
    Last Post: 02-19-2006, 11:30 AM
  2. Good books for learning WIN32 API
    By Junior89 in forum Windows Programming
    Replies: 6
    Last Post: 01-05-2006, 05:38 PM
  3. Good books to learn windows programming?
    By RetroGamer1991 in forum Windows Programming
    Replies: 4
    Last Post: 06-17-2003, 02:06 PM
  4. Any good books on C ?
    By deadsam in forum C Programming
    Replies: 8
    Last Post: 05-28-2003, 11:38 AM
  5. Good C Books
    By mattz in forum C Programming
    Replies: 10
    Last Post: 12-05-2001, 11:59 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21