On Fri, 3 Sep 2004, Mathieu Bouchard wrote:
On Fri, 3 Sep 2004, guenter geiger wrote:
On Fri, 3 Sep 2004, Yves Degoyon wrote: I think that this side effect of using %p is really bad, nobody thought of it when it was proposed as an alternative to %lx.
Well, iirc, it used to be that %p would print like %lx and not like 0x%lx. If this is really bad for anyone, then I'd recommend %lx together with explicit casts to long...
Yes, me too. With gcc you do not even need the cast, don't know about Visual C++.
Guenter