473,889 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Mastering C Pointers"....

Hey guys, I'm new here, just a simple question.

I'm learning to Program in C, and I was recommended a book called,
"Mastering C Pointers", just asking if any of you have read it,
and if it's worth the $25USD.

I'm just looking for a book on Pointers, because from what I've
read it's one of the toughest topics to understand.

thanks in advanced.

sincerely ... Andy
Nov 13 '05
388 21994
On 4 Nov 2003 21:05:17 GMT, in comp.lang.c , Joona I Palaste
<pa*****@cc.hel sinki.fi> wrote:
You mean the time RJH told Dennis Ritchie he (DMR, not RJH) was off
topic? Yes, that really happened.
Reply written primarily to let Roose and/or Connor know what the irony
was. With any luck at least one of them has not killfiled me yet.


Just in case you're in their bitbuckets already, I'm replying to your
post too. Its too good to lose...

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #211
On Tue, 04 Nov 2003 04:18:29 GMT, in comp.lang.c , "Roose"
<no****@nospam. nospam> wrote:
So, can anyone explain to me why everyone is so insistent on not
top-posting,
please don't top post in CLC
when they don't care about the long sigs?
We care, and several people have trimmed their sigs on request. But
unlike top=posting, long sigs don't screw up the sense of posts except
when responders have defective newsreaders.
I mean, an explanation other than hypocrisy.


I'm surprised you can write that word.

I mean, without your nose hitting the keyboard and sprouting leaves
and a birds nest.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #212
On Tue, 4 Nov 2003 06:11:49 +0000 (UTC), in comp.lang.c , Richard
Heathfield <do******@addre ss.co.uk.invali d> wrote:
but some
people are stuck with their news service and it seems unfair to
discriminate against such people by going on and on about something that is
outside their power to change.


Indeed, and FWIW I was in fact not aware of my services' added
garbage till recently - I don't read my own posts for obvious reasons.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #213
On Tue, 04 Nov 2003 04:09:09 GMT, in comp.lang.c , "Roose"
<no****@nospam. nospam> wrote:
It's completely transparent. If I were a troll, then you just let common
sense run its course.
Which is to correct your errors, tell you you're wrong and generally
make life awkward for you till you either crawl back under your rock,
or mend your ways.
It's because you think I actually something valuable
to say, that competes with your jack-off C standard knowledge, that you must
repeatedly, vehemently insist that I'm a troll.
Nope. Its because you make inflamatory and blatantly incorrect
statements that you get called a troll.
And, to which I would respond, as in the previous thread -- if I'm a troll,
then follow your own netiquette and killfile me.
I'm not going to afford you that pleasure, I fully intend, a I suspect
do others, to continue correcting your errors.
I don't care to be
responded to by people who don't think that I have something valuable to
say.


When you have something valuable to say I'll be silent. I mean it.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #214
Alan Connor <zz****@xxx.yyy > writes:
On Tue, 04 Nov 2003 21:30:30 GMT, Keith Thompson <ks*@cts.com> wrote:

[snip]
That's my advice. Take it or leave it.


I think for myself, Keith.

And I think you are a liar, and am sick of this continued smear campaign
against Roose.


Mr. Connor, you are a fool. I freely admit that any statement I make
might be mistaken, but I have not deliberately lied in this thread or
any other, and I deeply resent the accusation. I was honestly trying
to offer you the benefit of my experience, and this is how you respond.

If I used a killfile, you would now be in it. If I see you posting
misinformation, I may or may not post a correction for the benefit of
others. I will not make any further attempts to help you; others will
do as they wish.

(If you wish to apologize, I will consider disregarding your
accusation and moving on.)

--
Keith Thompson (The_Other_Keit h) ks*@cts.com <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://www.sdsc.edu/~kst>
Schroedinger does Shakespeare: "To be *and* not to be"
Nov 13 '05 #215
On Tue, 04 Nov 2003 18:08:24 GMT, in comp.lang.c , "Roose"
<no****@nospam. nospam> wrote:
Yes, I'd be quite curious
Now there's an understatement.

And please don't top post.

I work in commercial software development,
I pity your company.
and it is doubtful that many here do.


Incorrect. You can read most of the regular's testimonials in several
good C books.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #216
On Tue, 04 Nov 2003 04:32:22 GMT, in comp.lang.c , "Roose"
<no****@nospam. nospam> wrote:
And I didn't say (or didn't mean to say), that it _is_ an integer,
Really? How about this quote:On Tue, 04 Nov 2003 07:49:07 GMT, in comp.lang.c , "Roose" <no****@nospam. nospam> wrote:
In C, the "address" is basically an integer,

next...
Any program, of critical nature or not, is tested, and
these types of errors don't even take testers to figure out. The code
simply won't work when you try it for the first time.


This is the classic "it can't happen" mistake that programmers make.
"Oh, if that were invalid, testing would have proved it".

Wrong. Imagine you have 48 bit pointers, but only 32 bit integers. Now
imagine that during testing your app is the only one running on the
box. So all the pointers point to the bottom 4GB.

And now you move to prod, where there's a big database on the same box
using the bottom 4GB of memory, and your app is in the >4GB zone....
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #217
On Tue, 4 Nov 2003 07:58:33 +0000 (UTC), in comp.lang.c , Richard
Heathfield <do******@addre ss.co.uk.invali d> wrote:
Mark McIntyre wrote:
Actually, I have a nasty suspicion that Roose is talking to himself,
although I could be quite wrong.
Well, I thought that too, at first, but I now think it is unlikely, as a
little traffic analysis will show.
I'm happy to be shown to be wrong, tho it won't save Alan from my
killfile,
Firstly, Alan Connor first posted to this newsgroup in early October of this
year, well before Roose,


Of course, Roose could be Alan's alter ego. Rather than the other way
round. Frankly I can't be arrissed to work it out. One's a troll, the
other's defending a troll. *sigh*

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #218
On Tue, 4 Nov 2003 12:59:51 +0000, in comp.lang.c , Mark Gordon
<sp******@fla sh-gordon.me.uk> wrote:
You could use news.individual .net (formerly news.cis.dfn.de ) for text
groups.


Thanks for the tip. What I mostly use alibis for us binaries however.

ntl aren't too bad for text, except that somehow they screwed up CLC
some months back so that the last-read message Id is set to something
absurd like ninety five trillion, and Agent won't download anything.
Argh.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #219
Mark McIntyre wrote:

On Tue, 4 Nov 2003 06:28:29 +0000 (UTC), in comp.lang.c , Richard
Heathfield <do******@addre ss.co.uk.invali d> wrote:
Sheldon Simms wrote:
Ok, let me try to tell you something about pointers that is (hopefully)
precisely correct, but won't confuse you.

A pointer is a kind of variable that can "point to" some object.
This isn't precisely correct. Sorry to dash your hopes.

A pointer need not be variable. For example, there exists such a thing as a
null pointer constant.


And of course a null pointer is a pointer that doesn't point to
anythin....

And are functions objects?


No.
So can we settle on "a pointer is an object that can probably point to
another object, or possibly to a function, which is possibly not an
object, ouch my head hurts"?


A pointer doesn't have to be an object.
A pointer could also be the address of an object.
Nov 13 '05 #220

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

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.