473,396 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Help with C books

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

Feb 28 '06 #1
11 2093
ma***********@gmail.com wrote:
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.


I doubt very much that there is such a book. I.e., what have threads and
algorithms got to do directly with C - apart from you can use C to codify
most algorithms, and that it would be weird if one couldn't use C in a given
threaded OS, these subjects are more general - whereas C is *specific* - it
has a standard form?

You're looking at multiple books then - 1. one/more on C, one that applies
to the OS you're using for threading, and general books on algorithms - or
perhaps specialist books on particular types of algorithms [parallel,
genetic, ...]
--
==============
Not a pedant
==============
Feb 28 '06 #2

<ma***********@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
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


Implement problems and algorithms from

http://acm.uva.es/

Feb 28 '06 #3
ma***********@gmail.com wrote:
Can anyone recommend Book on C which covers all the advanced topics.
The one from Dennis Ritchie and Brian Karnighan is quite famous and
quite advanced.

Looking for the most advanced book on C. i have gone thru Expert C
Programming. Something on those lines with multi threading and
algorithms.


About algorithms you can find the book from Mark Allen Weiss (if I
remember correctly) called "Data Structures and Algorithms in C".
I think that you should probably learn C++ also and there are plenty of
books about algorithms in C++ nowadays.

Multi threading is operating system depended and if you program in
Unix/Linux enviroment I could greatly recommend you "Advanced
programming in Unix enviroment" from Richard Stevens (something like
that), it is famous book and covers multithreading, semaphores, messages
between processes and even more.
--
Mladen Adamovic
http://home.blic.net/adamm
http://www.shortopedia.com
http://www.froola.com
Feb 28 '06 #4
ma***********@gmail.com wrote:
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.


Not to me nasty, but from the previous question you asked, I'd say you
need to stick to the basics for quite some time yet. I sincerely doubt
that you have actually gone through the book you mention when you don't
even understand the basics of pointers.

Brian
--
Please quote enough of the previous message for context. To do so from
Google, click "show options" and use the Reply shown in the expanded
header.
Feb 28 '06 #5
Default User wrote:
ma***********@gmail.com wrote:

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.


Not to me nasty, but from the previous question you asked, I'd say you
need to stick to the basics for quite some time yet. I sincerely doubt
that you have actually gone through the book you mention when you don't
even understand the basics of pointers.


I am confused. After the first four words your reply makes sense,
but that preliminary leaves me wondering.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>
Mar 1 '06 #6
CBFalconer wrote:
Default User wrote:
ma***********@gmail.com wrote:

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.


Not to me nasty, but from the previous question you asked, I'd say
you need to stick to the basics for quite some time yet. I sincerely
doubt that you have actually gone through the book you mention when
you don't even understand the basics of pointers.


I am confused. After the first four words your reply makes sense,
but that preliminary leaves me wondering.


At the risk of missing the point, IMO it was supposed to be:

"Not to *be* nasty".

;-)

--
BR, Vladimir

To teach is to learn.

Mar 1 '06 #7
Hi,

I have done my Masters in Tech in Distributed Computing all in C.

I know abt pointers and more. That question i asked bcause of the
different behaviour patterns

ie why int pointer getting seg fault and char pointer not. (you missed
the point)

which later was explained as undefined behaviour. (Nothing definite)

I hope that justify my asking for Advanced C books

Cheers
Vishal

Mar 1 '06 #8
ma***********@gmail.com wrote:
Hi,

I have done my Masters in Tech in Distributed Computing all in C.

I know abt pointers and more. That question i asked bcause of the
different behaviour patterns

ie why int pointer getting seg fault and char pointer not. (you missed
the point)
OK, how about this:

You declared two pointer variables, which will have been allocated from
the stack. The memory location used for each pointer will be
uninitialised and will contain what ever was last stored there. By
chance, one location's bit pattern represented the address of a
writeable memory location, the other did not. So assigning a value to
one pointer worked, the other did not.
I hope that justify my asking for Advanced C books

Advanced books tend to be domain specific, rather than C specific. C
is, after all, a simple language. So I suggest you ask in a domain
specific group (algorithms, threads etc.).

--
Ian Collins.
Mar 1 '06 #9
ma***********@gmail.com wrote:
I have done my Masters in Tech in Distributed Computing all in C.
That does not _necessarily_ make you a C expert. It just might.
I know abt pointers and more. That question i asked bcause of the
different behaviour patterns
Did you write your Masters thesis in abbrvs as well?
ie why int pointer getting seg fault and char pointer not. (you missed
the point)
If you quoted some context here, someone would be able to check your
statement for accuracy. Like this it's just noise.
which later was explained as undefined behaviour. (Nothing definite)
Undefined Behavior is as definite an answer as you can ask for. Believe
me (while watching demons flying out of noses of flying pigs flapping
around DS9000).
I hope that justify my asking for Advanced C books


No, not necessarily, and actually no, not at all. I went to the trouble
of finding the post you're referring to (Help in c pointers:
http://groups.google.com/group/comp....d8b04d14b4cb0),
and must agree with whoever told you something along the lines of "you
may actually need something basic first).

--
BR, Vladimir

PS
To quote using Google, click on Show Options, and then on Reply that
appears below the headers.

Mar 1 '06 #10
"ma***********@gmail.com" wrote:

I have done my Masters in Tech in Distributed Computing all in C.

I know abt pointers and more. That question i asked bcause of the
different behaviour patterns

ie why int pointer getting seg fault and char pointer not. (you
missed the point) which later was explained as undefined behaviour.
(Nothing definite)

I hope that justify my asking for Advanced C books


You don't seem to have learned too much. You certainly haven't
learned to use google groups to access usenet. Nor have you
learned to avoid silly abbreviations that only serve to make your
posts even harder to read. Without proper context they are
meaningless.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>
Mar 1 '06 #11
ma***********@gmail.com wrote:
Hi,

I have done my Masters in Tech in Distributed Computing all in C.

I know abt pointers and more. That question i asked bcause of the
different behaviour patterns

ie why int pointer getting seg fault and char pointer not. (you missed
the point)


Assuming you're talking to me (as you couldn't have the common courtesy
to quote), then you're wrong. I didn't miss anything.

You don't understand the basics of how pointers work. It's that simple.
You need to work a lot more on the fundamentals before trying
"advanced" topics. Until you can write simple programs that aren't
riddled with undefined behavior, you are not ready to move on.


Brian
--
Please quote enough of the previous message for context. To do so from
Google, click "show options" and use the Reply shown in the expanded
header.
Mar 1 '06 #12

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

Similar topics

2
by: anolith | last post by:
Hello Everyone! I'm wondering if someone could help me out with this problem. We have a database in Access for our library. We also have it linked to a web search. If a book is authored by two...
11
by: my-wings | last post by:
I think I've painted myself into a corner, and I'm hoping someone can help me out. I have a table of books (tblBooks), which includes a field (strPubName) for Publisher Name and another field...
0
by: butterflyTee | last post by:
USING:ORACLE 9i For each of the following tasks, determine (a) the SQL statement needed to perform the stated task using the traditional approach and (b) the SQL statement needed to perform the...
3
by: silver_sabrina | last post by:
Hey everyone, I'm having some trouble with this. I need to convert one xml doc into another and I think that XSLT may be the answer, so I'd like some help from the gurus out here :) If XSLT cannot...
1
by: ukgrl_yr79 | last post by:
hi fairly new to vb.net . I have created a filesystem where a manager and co workers hve limted access. the manager can read members files. i have used streamreader to get the details from...
47
by: Jo | last post by:
Hi there, I'm Jo and it's the first time I've posted here. I'm in process of creating a database at work and have come a little unstuck.....I'm a bit of a novice and wondered if anyone could...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.