Help with C books

M

manochavishal

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
 
P

pemo

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, ...]
 
C

c_beginner

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/
 
M

Mladen Adamovic

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.
 
D

Default User

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
 
C

CBFalconer

Default said:
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/>
 
V

Vladimir S. Oka

CBFalconer said:
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".

;-)
 
M

manochavishal

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
 
C

CBFalconer

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/>
 
I

Ian Collins

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.).
 
V

Vladimir S. Oka

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/[email protected]&rnum=2#b48d8b04d14b4cb0),
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.
 
D

Default User

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,947
Members
47,498
Latest member
yelene6679

Latest Threads

Top