Re: Whats the use of %p



"Malcolm" <regniztar@xxxxxxxxxxxxxx> wrote:
# >
# > What kind of formating can be done with %p in printf
# >
# There's never any point in printing out a pointer except to debug code.
# Hence no reason to format nicely for the user's consumption.

Creates unique strings for things like hash table keys.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
I love the smell of commerce in the morning.
.



Relevant Pages

  • Re: Whats the use of %p
    ... What kind of formating can be done with %p in printf ... There's never any point in printing out a pointer except to debug code. ... Hence no reason to format nicely for the user's consumption. ...
    (comp.lang.c)
  • Re: Formating lost on Printing
    ... suggestions how to retian my formating when printing? ... otherwise they retain their last position when the report is printed ...
    (microsoft.public.access.reports)
  • Re: Whats the use of %p
    ... #> What kind of formating can be done with %p in printf ... # There's never any point in printing out a pointer except to debug code. ...
    (comp.lang.c)
  • Re: Whats the use of %p
    ... #> What kind of formating can be done with %p in printf ... # There's never any point in printing out a pointer except to debug code. ... Creates unique strings for things like hash table keys. ... void *bar; ...
    (comp.lang.c)