Re: normalization of pointers...



In article <f3k080$tdm$1@xxxxxxxxxxxxxxxxxx>, Chris Dollin <chris.dollin@xxxxxx> writes
Shraddha wrote:

On May 30, 6:29 pm, Chris Dollin <chris.dol...@xxxxxx> wrote:
Shraddha wrote:
> What is mean by normalization of pointers...Where we use that?

We don't. There's no such concept in Standard C.

Tell us more about your problem.

(and remember to snip signatures in the future)

I read about it in the explanation of the far pointers...
there they say that -"The only difference between huge pointers and
far pointers is that...huge pointers are normalized..."

So I am asking what is far pointers?

They are not a feature of Standard C; they are a non-standard
(and, as I understand it, largely obsolete) feature of certain
implementations.

I'd advise learning C from a source that isn't so implementation-
specific. (My preference is for K&R 2; others differ.)

Many compilers have FAR pointers. Not just WinTel stuff. Not just in old compilers either.


--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@xxxxxxxxxxxx www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



.



Relevant Pages

  • Re: RW refuses to admit his error(was: moving data from one place to another in a text file
    ... >> Standard does not support pointers, ... programmers look to compilers for current features. ... Cobol compiler; they sell rebadged versions of MF. ...
    (comp.lang.cobol)
  • Re: How many levels of pointers can you have?
    ... How many levels of pointers can you have? ... C99 IS the standard. ... Most compilers do not meet the ISO C standard. ... Many implementations deviated from C90 too. ...
    (comp.lang.c)
  • Re: Doubts about pointers
    ... excellent but it doesn't mention near and far pointers at all. ... executes correctly on a minimal system. ... I pointed out some free C compilers. ... So where in the C standard does it say the Original Poster ...
    (comp.lang.c)
  • Re: Calling functions of derived types, pointers and memory leakage
    ... I repeat my recommendation against that. ... The behavior doesn't vary if you stick to the standard (well, ... where compilers are just beginning to converge ... pointers are particularly nasty about being hard to ...
    (comp.lang.fortran)
  • Re: Returning pointers from functions
    ... In f1, you are not returning the -address- of temp, you are returning ... Compilers often put quoted strings into static storage, ... that saves having to copy in the string each time. ... pointers, where a "public" pointer was an absolute address in virtual ...
    (comp.lang.c)