Message-Id: <199712290650.IAA04068@ankara.duzen.com.tr> Comments: Authenticated sender is From: "S. M. Halloran" Organization: User RFC 822- and 1123-Compliant To: "TRV" , djgpp AT delorie DOT com Date: Mon, 29 Dec 1997 08:48:55 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: adresses In-reply-to: <883333771.84140@mn8> Precedence: bulk On 28 Dec 97, TRV was found to have commented thusly: > Help > > I am a C++ newbie, and I got a problem with adresses. > when I use &XXXXX commando to print a value adress on the screen. I got "1" > as answer > Why not a Hex number > > Daniel > I don't use C++ at all, but I know--or at least am pretty sure--of one thing: the language includes printf() as a standard library function, and you can at least control output--including integer and real number format--to stdout through this function. You might want to become familiar with your particular implementation's printf(), then also consider that you may want it to be portable as well...although when dealing with addresses.... Best regards, Mitch Halloran Research (Bio)chemist Duzen Laboratories Group Ankara TURKEY mitch AT duzen DOT com DOT tr other job title: Sequoia's (dob 12-20-95) daddy