Thread: Good C books/tutorials...

  1. #1
    Sunner
    Guest

    Good C books/tutorials...

    I've found it very hard to find good books or tutorials about C programming.

    What Im looking for would be a tutorial that actually aims at doing something "real" in the end.

    Say one that chapter by chapter aims at writing a simply daemon or maybe some program.

    The most frustrating things about all the books and tutorials I've read is that they go through stuff, one bit at a time, but they never connect it all into something useful.

    Does anyone know if there even are any such guides?
    I'd prefer Linux/UNIX focused ones, but really, anything will do as long as it's good.

    Regards
    //Sunner

  2. #2
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    I only know of one book that covers the construction of a 12,000 line program in C++, it's called Large Scale C++ Software Design. It was SilentStrike who said that he started reading it but found it too advanced. Since SilentStrike is a good programmer, I believe him. I have the book, but I have not tried to read it. I'll wait until I improve my C++ skills which g++ makes possible.

    Other than that, some good C books are:
    The C Programming Language second edition
    Pointers On C
    C Interfaces And Implementations
    Deep C secrets ( I read some of this)

    I have not read any of these books but I own them. I own just about every book one can imagine. I think that these should get a person ready to dive into the Linux kernel or say PostgreSQL source.

    If you want to study transaction processing systems, than study the PostgreSQL source but read books on 'transaction processing'. There are some good ones out there, check < www.amazon.com > You must be mathematically inclined.

    The sad thing is that most books leave us short of knowledge and we have to do things ourselves. That's why I find Linux a lonely road. I't lonely but it's 100% the right choice if you want to do the research. If your C or C++ skills are not at the expert level than read those books mentioned above.

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I own just about every book one can imagine.
    Do you own Advanced C Struct Programming by John W.L. Ogilvie? I've heard it is good, but the only copies I can find are exorbitantly priced. I'm not quite willing to pay that for a book that may not be of any use to me.

    -Prelude
    My best code is written with the delete key.

  4. #4
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    No I don't have it but I can order it. It's not expensive at all. BTW have you read C Implementations And Interfaces?

  5. #5
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    It's published by a Canadian publisher. I live in Canada, maybe I should get it.

  6. #6
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >It's not expensive at all.
    I've only been able to find it used for well over $60. Not even Petzold (my most expensive book) was that much.

    >BTW have you read C Implementations And Interfaces?
    No, I haven't. It is on my list of books to read though.

    -Prelude
    My best code is written with the delete key.

  7. #7
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    What the hell. It's only about $20 USD.

    http://www.amazon.ca/exec/obidos/ASI...767642-8780025

    What should I read first, 'Pointers On C' or the one I mentioned above? I probably need more grounding in C since I have only read Sams books, lol. Well I also attended a couple college courses in C. It's important for me to understand interfaces and implimenations. I have been reading a C++ book lately and I'm over on that board making a fool out of myself, but how else does one learn?

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >What the hell. It's only about $20 USD.
    Insane. Not 20 minutes ago amazon said it was out of print, and there was only one used copy for $64 USD.

    >What should I read first, 'Pointers On C' or the one I mentioned above?
    It depends on your current knowledge of C. Pointers on C is a beginners book, but offers valuable insight into the language and (better in my opinion) teaches correct programming style. It makes for a good read even if you know what you are doing, if only to make sure you are doing things correctly.

    -Prelude
    My best code is written with the delete key.

  9. #9
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    hmm, I also have:

    Programming Pearls second edition
    C Traps And Pitfalls

    The rest of my books are C++ related more or less, unless Design Patterns can be considered generic, although most of the design patterns seem to be related to OOP.

  10. #10
    Unregistered
    Guest
    Beginning Linux Program

    it's published by WROX press, it's a very good book. They develop a CD cataloguing program in C with ncurses interface/with gnome/gtk+ interface


    The book is not limited to this, it even goes on to talk about writting device drivers, loadable kernel modules, etc

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 resources for maths and electronics
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 12-22-2004, 04:23 PM
  4. what is good for gaphics in dos
    By datainjector in forum Game Programming
    Replies: 2
    Last Post: 07-15-2002, 03:48 PM
  5. i need links to good windows tuts...
    By Jackmar in forum Windows Programming
    Replies: 3
    Last Post: 05-18-2002, 11:16 PM