Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!tkou02.enet.dec.com!diamond From: diamond@tkou02.enet.dec.com (diamond@tkovoa) Newsgroups: comp.lang.c Subject: Re: Novice MicroSoft C5.1 question Message-ID: <1906@tkou02.enet.dec.com> Date: 9 Aug 90 04:23:07 GMT References: <17179@haddock.ima.isc.com> <440@demott.COM> <165@srchtec.UUCP> Reply-To: diamond@tkou02.enet.dec.com (diamond@tkovoa) Organization: Digital Equipment Corporation Japan , Tokyo Lines: 12 In article <165@srchtec.UUCP> johnb@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@tkou02.enet.dec.com This is me speaking. If you want to hear the company speak, you need DECtalk.