Novice MicroSoft C5.1 question

diamond@tkovoa diamond at tkou02.enet.dec.com
Thu Aug 9 14:23:07 AEST 1990


In article <165 at srchtec.UUCP> johnb at srchtec.UUCP (John Baldwin) writes:

>      printf("Address of foob is [%p] \n", (genptr)&foob);
>If you move to another implementation, you only have to change the typedef.
>  [Obviously, in this instance, you'll have to do more than that,
>   since there's not a '%p' format specifier in the ANSI printf()!!!

Well, the last draft did define %P instead of %p, but that appears to be
a typo.  Aside from the place where it's defined, they refer to it as %p.
-- 
Norman Diamond, Nihon DEC     diamond at tkou02.enet.dec.com
This is me speaking.  If you want to hear the company speak, you need DECtalk.



More information about the Comp.lang.c mailing list