The best c book?

This is a discussion on The best c book? within the C Programming forums, part of the General Programming Boards category; I own C by Dissection, which in my opinion leaves a lot to be desired. I was wondering if anyone ...

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    9

    The best c book?

    I own C by Dissection, which in my opinion leaves a lot to be desired. I was wondering if anyone could recommend a better book. I have been programming in c for a little while, and have most of the basics down, but I am still having some trouble with some topics. These topics include dymanic memory allocation, pointer to an array. Right now I am doing an assignment where I have to implement a hash table, which utlizes a pointer to an array, and I'm not even sure how to initialize it. I have been flipping through my book for an hour and not getting anywhere. I have come to the conclusion that I need a new book. Any recommendations would be appreciated. Thanks!

  2. #2
    Registered User
    Join Date
    Feb 2005
    Posts
    38
    The Complete C Reference Fourth Edition. It's a good book that teaches well for newer programmers and it's also a great reference for more experienced programmers.
    I like to play pocket pool.

  3. #3
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    Quote Originally Posted by NoUse
    The Complete C Reference Fourth Edition. It's a good book that teaches well for newer programmers and it's also a great reference for more experienced programmers.
    A grain of salt. And another.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  4. #4
    cwr
    cwr is offline
    Registered Luser cwr's Avatar
    Join Date
    Jul 2005
    Location
    Sydney, Australia
    Posts
    868
    The C Programming Language by K&R is excellent for describing the C language. For other topics like data structures in C, you will need something that caters for your specific needs. Algorithms in C by Robert Sedgewick is quite good.

  5. #5
    Registered User
    Join Date
    Nov 2005
    Posts
    9

    Thanks

    I just bought K&R, looks good. Thanks for the advice.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. URGENT: Help wanted...in C
    By iamjimjohn in forum C Programming
    Replies: 16
    Last Post: 05-18-2007, 05:46 AM
  2. Books on C and C++
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-28-2002, 03:18 PM
  3. Newbie - MFC code from a book in VC++.Net
    By Guardian in forum Windows Programming
    Replies: 2
    Last Post: 04-27-2002, 07:17 PM
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 07:03 PM

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