![]() |
|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Hello,
Can anyone recommend a good comprehensive book or reference on data structures and their implementations in the C programming language? I don't really need an introductory work, as I have one for C++ - but I'm looking for a more advanced and comprehensive work.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
|||
![]()
Examples: linked lists, binary search trees, stacks, queues, etc.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
||||
![]()
Well, it might sound stupid, but I learned how to implement such things using Wikipedia, GCC, and GDB lol. Lists, Stacks, and Queues are all similar enough that if you figure out how to implement one, the others should fall into place quick enough. Tree structures on the other hand can be a bit tricky at first. The main difference from C++ implementations, you won't find OO syntax used even though some C programs are written in an object oriented style. That, and there is no STL... lol.
For books, I have never read it but [http://oreilly.com/catalog/9781565924536/]Mastering Algorithms with C[/url] from O'Reilly might be a good buy.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. Last edited by TerryP; 3rd November 2008 at 05:28 AM. |
|
|||
![]() Quote:
http://www.amazon.com/exec/obidos/tg...X0DER&v=glance However, note that good books on data structures will be language agnostic (as they should be...). If you are wanting meaty, comprehensive, & dense, Cormen's Introduction to Algorithms is perhaps the best: http://www.amazon.com/Introduction-A...5736157&sr=1-1 Note that Cormen, et. al. approaches both algorithms & the data structures needed to implement such algorithms from a traditional mathematical standpoint. As such, this book is frequently used in graduate-level coursework. It is also a timeless text, much in the same manner as Knuth's The Art of Computer Programming: http://www.amazon.com/Art-Computer-P...5736409&sr=1-1 |
|
|||
![]() Quote:
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
||||
![]()
Hi.
I see the items below on my bookshelf. I like the Sessions book because it was short enough to read quickly. Because these are old, you probably could get them from the used-book sources at Amazon. I also listed the Icon book. Easily available and free, Icon has a number of facilities to help build structures. It handles most of the details, so that you can concentrate on the big picture; later you can dig into details of an implementation of an algorithm in a lower-level language. Best wishes ... cheers, drl Code:
Title: Data Structures and Program Design in C Author: Robert L. Kruse, Bruce P. Leung, Clovis L. Tondo Date: January 1991 Publisher: Prentice Hall ISBN: 0137256493 Pages: 576 Categories: programming, design, software Comments: 2.5 stars, 34 reviews (Amazon, 2008.11) Title: Reliable Data Structures in C Author: Thomas Plum Date: 1985 Publisher: Plum Hall ISBN: 091153704X Pages: about 300 Categories: programming, design, software Comments: 5 stars, 1 review (Amazon, 2008.11) Title: Reusable Data Structures for C Author: Roger Sessions Date: January 1989 Publisher: Prentice Hall ISBN: 0137790341 Pages: 166 Categories: programming, design, software Comments: 0 reviews at Amazon Title: The Icon Programming Language Author: Ralph E. Griswold, Madge T. Griswold Edition: Third Date: June 24, 2000 Publisher: Coriolis Group Books ISBN: 1573980013 Pages: 386 Categories: programming, text processing Comments: 5 stars, 3 reviews (Amazon, 2008.11) |
|
||||
![]()
Have a look at http://www.dmst.aueb.gr/dds/ismr/data/index.htm.
I know it's not exactly what you're lookin for but... you can see some interesting book references. Does anyone recognize the author? |
|
|||
![]()
Although I don't program in C, I own and can recommend "Algorithms in C" (paperback) by Robert Sedgewick. A new 2008 edition is about to be published.
Re: "Algorithms + Data Structures = Programs" This is a book by Niklaus Wirth, the architect of Pascal and Modula. The code in the book is not pseudo code but Pascal. I bought this about 25 years ago because it had an example of balancing AVL trees.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Read Excel Data and store into Mysql Database using PHP | cksraj | Programming | 2 | 3rd June 2009 12:09 PM |
apache: data stuck in socket? | goertzenator | FreeBSD General | 8 | 16th February 2009 04:01 PM |
Mounting FreeBSD Data on Windows | tuck | Other OS | 11 | 13th February 2009 10:19 AM |
data recovery. | LateNiteTV | FreeBSD General | 8 | 29th August 2008 08:11 PM |
Apache data transfer limit | cajunman4life | General software and network | 5 | 7th June 2008 05:13 PM |