473,748 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Are there books about C data structures?

Hallo to everyone.
This fall I am going to start data structures as a part of C language
course. The problem is I could not find any satisfying tutorial about
structures in C. There are plenty of books about data structures in C+
+ etc., could anyone please recommend me such a C -specific book ? And
another question: are data structures (like stack, structure etc.)
used in C++ identical to those in C and is it possible to use C++
books to learn about the structures in C?

Aug 22 '07 #1
29 6353
On Aug 22, 4:39 pm, Mik0b0 <new...@gmail.c omwrote:
Hallo to everyone.
This fall I am going to start data structures as a part of C language
course. The problem is I could not find any satisfying tutorial about
structures in C. There are plenty of books about data structures in C+
+ etc., could anyone please recommend me such a C -specific book ?
"Data Structures and Algorithm Analysis in C (Second Edition)"
by Mark Allen Weiss
ISBN: 0-201-49840-5
And
another question: are data structures (like stack, structure etc.)
used in C++ identical to those in C
No. In C++ we have templates. C has nothing like that.
and is it possible to use C++
books to learn about the structures in C?
Will you read an airplane manual to understand your car?
The approach for a data structure in C++ will not be like the approach
in C.

Aug 23 '07 #2
On Aug 22, 7:39 pm, Mik0b0 <new...@gmail.c omwrote:
Hallo to everyone.
This fall I am going to start data structures as a part of C language
course. The problem is I could not find any satisfying tutorial about
structures in C. There are plenty of books about data structures in C+
+ etc., could anyone please recommend me such a C -specific book ?
I would recommend "Algorithms in C" by Robert Sedgewick. Part 1-4
cover Fundamentals, Data Structures, Sort, and Searching
respectively. Part 5 is a separate volume and focuses on Graphs, the
two volumes are available separately or as a bundle. The text is
fairly comprehensive and very well written and the dialog should be
easy to follow for an undergraduate student. The code is all well-
written C90 and is clear and concise, the author does a good job of
taking advantage of common C idioms and practices that you can use in
the real world.

Robert Gamble

Aug 23 '07 #3
Mik0b0 <ne****@gmail.c omwrites:
>Hallo to everyone.
This fall I am going to start data structures as a part of C language
course. The problem is I could not find any satisfying tutorial about
structures in C. There are plenty of books about data structures in C+
+ etc., could anyone please recommend me such a C -specific book ? And
another question: are data structures (like stack, structure etc.)
used in C++ identical to those in C and is it possible to use C++
books to learn about the structures in C?
I'm currently reading through:

http://www.course.com/catalog/produc...-0-534-39080-8

Data Structures: A Pseudocode Approach with C, Second Edition

Richard Gilberg, Behrouz Forouzan
ISBN 13: 978-0-534-39080-8 (C) 2005
ISBN 10: 0-534-39080-3
Publish date: October 11, 2004
672 pages
Hardcover

No opinions just yet....

_______________ _______________ _______________ _______________ _______________ ___
Dr Chris McDonald E: ch***@csse.uwa. edu.au
Computer Science & Software Engineering W: http://www.csse.uwa.edu.au/~chris
The University of Western Australia, M002 T: +618 6488 2533
Crawley, Western Australia, 6009 F: +618 6488 1089
Aug 23 '07 #4

"Mik0b0" <ne****@gmail.c omwrote in message
news:11******** **************@ j4g2000prf.goog legroups.com...
Hallo to everyone.
This fall I am going to start data structures as a part of C language
course. The problem is I could not find any satisfying tutorial about
structures in C. There are plenty of books about data structures in C+
+ etc., could anyone please recommend me such a C -specific book ? And
another question: are data structures (like stack, structure etc.)
used in C++ identical to those in C and is it possible to use C++
books to learn about the structures in C?
Data Structures and Program Analysis in C - Robert Kruse,Clovis Tondo.
This could be the ideal book for you.

Aug 23 '07 #5
On Aug 23, 1:06 am, user923005 <dcor...@connx. comwrote:
On Aug 22, 4:39 pm, Mik0b0 <new...@gmail.c omwrote:Hallo to everyone.
This fall I am going to start data structures as a part of C language
course. The problem is I could not find any satisfying tutorial about
structures in C. There are plenty of books about data structures in C+
+ etc., could anyone please recommend me such a C -specific book ?

"Data Structures and Algorithm Analysis in C (Second Edition)"
by Mark Allen Weiss
ISBN: 0-201-49840-5
Is this C ? I'm asking because I just checked the reviews
on amazon.com and several say that the examples are in C++.
They were probably commenting on the wrong book but I want
to make sure.

Aug 23 '07 #6
Spiros Bousbouras said:
On Aug 23, 1:06 am, user923005 <dcor...@connx. comwrote:
<snip>
>"Data Structures and Algorithm Analysis in C (Second Edition)"
by Mark Allen Weiss
ISBN: 0-201-49840-5

Is this C ?
Yes.
I'm asking because I just checked the reviews
on amazon.com and several say that the examples are in C++.
See http://www.cs.fiu.edu/~weiss/dsaa_c2e/files.html
They were probably commenting on the wrong book but I want
to make sure.
Please bear in mind that typical Amazon reviewers can't even spell C,
let alone recognise C source code.

--
Richard Heathfield <http://www.cpax.org.uk >
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Aug 23 '07 #7
On 22 ago, 20:39, Mik0b0 <new...@gmail.c omwrote:
Hallo to everyone.
This fall I am going to start data structures as a part of C language
course. The problem is I could not find any satisfying tutorial about
structures in C. There are plenty of books about data structures in C+
+ etc., could anyone please recommend me such a C -specific book ? And
another question: are data structures (like stack, structure etc.)
used in C++ identical to those in C and is it possible to use C++
books to learn about the structures in C?
I have a book...
i'm going to send to your email.

Aug 23 '07 #8
Richard Heathfield <rj*@see.sig.in validwrites:
Spiros Bousbouras said:
>On Aug 23, 1:06 am, user923005 <dcor...@connx. comwrote:

<snip>
>>"Data Structures and Algorithm Analysis in C (Second Edition)"
by Mark Allen Weiss
ISBN: 0-201-49840-5

Is this C ?

Yes.
>I'm asking because I just checked the reviews
on amazon.com and several say that the examples are in C++.

See http://www.cs.fiu.edu/~weiss/dsaa_c2e/files.html
>They were probably commenting on the wrong book but I want
to make sure.

Please bear in mind that typical Amazon reviewers can't even spell C,
let alone recognise C source code.
Clearly not the case and I have found many peer reviews on Amazon for
technical books to be very illuminating, What do you do when you are not
putting other people down and blowing up your own self importance?
Aug 23 '07 #9
On Thu, 23 Aug 2007 14:52:01 -0000, Romulo Carneiro
<ro***********@ gmail.comwrote:
>On 22 ago, 20:39, Mik0b0 <new...@gmail.c omwrote:
>Hallo to everyone.
This fall I am going to start data structures as a part of C language
course. The problem is I could not find any satisfying tutorial about
structures in C. There are plenty of books about data structures in C+
+ etc., could anyone please recommend me such a C -specific book ? And
another question: are data structures (like stack, structure etc.)
used in C++ identical to those in C and is it possible to use C++
books to learn about the structures in C?

I have a book...
i'm going to send to your email.
I suspect that the OP is about to become the recipient of an illegal
copy of something. Or a virus.

--
Al Balmer
Sun City, AZ
Aug 23 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
3049
by: tnrABC | last post by:
The approximately 100 books below are for sale. Mostly a selection of mathematics (numerical analysis mostly), computing science (graphics, ai, programming techniques, theory, compilers, operating systems, Unix, languages (C, C++, Smalltalk, Java, Pascal, Modula etc.), and a sprinkling of others (e.g. surviving as a consultant, writing resumes, and so on). Most are either new or in as-new condition. Some older ones have begun to attract...
3
1418
by: Michael | last post by:
Guys, I've just finished reading Design Patterns and have been over whelmed by how clever some people are :-) Are there any other books on a similar vein worth reading, Managing large scale projects, readable data structures and extensibility. Also when you start a progrm project from scratch, how do you lay it out? I've been drawing object interactions on a a0 piece of paper, is this the way others do it, or is there any good software...
4
3862
by: Thomas Paul Diffenbach | last post by:
Can anyone point me to an open source library of /statically allocated/ data structures? I'm writing some code that would benefit from trees, preferably self balancing, but on an embedded system that doesn't offer dynamic memory allocation (to be clear: no malloc, no realloc), and with rather tight memory constraints. Writing my own malloc to do dynamic allocation from some static pool isn't really an option, for various reasons, not...
13
2754
by: James Harris | last post by:
Hi, Can someone recommend a book that will teach me how to approach C programming so that code is modularised, will compile for different environments (such as variations of Unix and Windows), will be robust etc. As an example, I am developing a BSD Sockets suite which I want to run under various Unixes, including the Zaurus version of Linux, and also run parts of it under Windows. My thought is to
10
4784
by: Bart Goeman | last post by:
Hi, I have a question about how to put redundant information in data structures, initialized at compile time. This is often necessary for performance reasons and can't be done at run time (data structures are read only) Ideally one should be able to put the redundant information there automatically so no mistakes are possible, but in a lot of case I see no way how to do it.
11
2123
by: manochavishal | last post by:
Hi, Can anyone recommend Book on C which covers all the advanced topics. Looking for the most advanced book on C. i have gone thru Expert C Programming. Something on those lines with multi threading and algorithms. Cheers Vishal
3
2316
by: osp | last post by:
hi to every one.... i just started out with c++ and i think i am doing well.i use Robert Laffore to study. which book should i use for data structures ? please help. thank you with regards osp
11
3777
by: efrat | last post by:
Hello, I'm planning to use Python in order to teach a DSA (data structures and algorithms) course in an academic institute. If you could help out with the following questions, I'd sure appreciate it: 1. What exactly is a Python list? If one writes a, then is the complexity Theta(n)? If this is O(1), then why was the name "list" chosen? If this is indeed Theta(n), then what alternative should be used? (array does not seem suited for...
41
1960
by: istillshine | last post by:
Questions for the major contributors to comp.lang.c. What C books do you have? What C books have you read? Which algorithm book is your favorite? What resources that you find particularly useful, beside comp.lang.c and its FAQ?
0
8983
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8822
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9528
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9359
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9236
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6792
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6072
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3298
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.