comp.lang.c
[Top] [All Lists]

Re: Doubts about pointers

Subject: Re: Doubts about pointers
From: John Bode
Date: Thu, 27 Mar 2008 15:34:07 -0700 PDT
Newsgroups: comp.lang.c

On Mar 26, 5:11 pm, Simon <nos...@xxxxxxxxxxx> wrote:

Please don't top-post; it makes following the discussion difficult.

> Thanks for the answer. I guessed that is what would happen but I
> couldn't find any documentation, can you provide a link to the relevant
> Borland documentation?
>
> Actually I'm mostly learning C from the book by H. Schildt, which is
> excellent but it doesn't mention near and far pointers at all. I find
> them quite confusing, so I think any book should explain them clearly.
>

As others have probably pointed out by now, "near" and "far" pointers
are not part of the core C language; they're extensions specific to a
couple of platforms, so a book on generic C isn't going to mention
them at all.

As for Schildt...

The man's an engaging writer, but he's not known for technical
accuracy.  The first edition of "C: The Complete Reference" was
incredibly DOS-centric, chock-full of technical errors and bad
programming habits, and much of the example code was poorly written
and wouldn't even compile.

He may have improved over time, but it seems his books still receive
poor reviews.  I personally would stick with Kernighan and Ritchie's
"The C Programming Language", 2nd ed.

> As for being obsolete, the good thing is that Borland have released
> Turbo-C for free now, so there's no need to worry about Micro$oft
> license fees. Also C doesn't change much!
>

Actually, the latest revision (C99) introduces a lot of new stuff.

[snip]


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy