Subj : Re: Any help on why? To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Thu Jul 08 2004 11:35 am Wayne A. King wrote: >On Wed, 07 Jul 2004 12:59:52 -0700, Bob Gonder >wrote: > >(1) How to program in C/C++. >(2) Why the variable xreport wasn't displaying when using %X. > >The answer to (1) is: follow the Standard and some good texts/advice. right, but it was C not C++ >The answer to (2) is: he's using the wrong type specifier in the printf(). Wrong Prefix. Format specifier was correct for the desired output (hex) .