delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/14/23:32:53

Date: Wed, 14 Jan 1998 20:31:30 -0800 (PST)
Message-Id: <199801150431.UAA16335@adit.ap.net>
Mime-Version: 1.0
To: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: printf("%p");
Cc: djgpp AT delorie DOT com

At 02:20  1/15/1998 -0500, Peter Palotas wrote:

>Okay, if you say so, you should know best!  Guess I'll just have to settle
>with the ugly looking pointer then! (Why not atleast make it capital letters!?)
You can always write

char *p;
printf("%#X",(unsigned)p);

if the way it looks is important to you.

Btw, IMHO, lowercase letters are more readable than caps.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019