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

Re: Doubts about pointers

Subject: Re: Doubts about pointers
From: Ian Collins
Date: Thu, 27 Mar 2008 16:48:52 +1300
Newsgroups: comp.lang.c

Richard wrote:
> Ian Collins <ian-news@xxxxxxxxxxx> writes:
>> Simon wrote:
>>
>>> 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.
>>>
>> The is no need for any C book to explain near and far pointers as they
>> are not C, but an obsolete platform extension.
> 
> near and Far pointers were used in lots of legacy code which is still in
> use. And they are part of the C used on those platforms.
> 
> Now, if that wasn't C in use then I must be dreaming. Because there were
> many books on C which explained this pointers.
> 
> So your claim that there is no need for "any C book" to explain them is
> clearly rubbish.
> 
I learned C from K&R.  I learned about near and far pointers form Intel
and compiler documentation.

The C book explained C, the documentation explained segments.  Segments
were just as relevant to my assembly as my C programming.

There was and still is no need for any C book to explain near and far
pointers.  There is a need for DOS and 386 books to explain near and far
pointers.

-- 
Ian Collins.

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