Skip to contentSkip to conversation

NAMS-%d=%c...?

DISCUSSION ssams 2 participants 2 messages Aug 31, 2002

lore
Share & tools
lore

ssams

author
#0 lore raw

pesan db 9," %d=%c ",0

from pice of code above whats mean " %d=%c "
it come from a code to print ascii code with their value
output from the program is, ex:
A=65
--------------------- Yang Mudah dan Menghibur ----------------------------

Hosting menjadi mudah dan murah hanya di PlasaCom. Klik http://idc.plasa.com

F1 Mania!! Ikuti F1 Game di Obelix Game Corner di http://www.plasa.com/infotel/f1.html

---------------------------------------------------------------------------------------

#1 lore raw
Quoted 6 lines · ssams

pesan db 9," %d=%c ",0

from pice of code above whats mean " %d=%c "
it come from a code to print ascii code with their value output from the program is, ex:
A=65

It's a format string, man 3 printf.
%c prints the character for whatever number is given, %d just prints the number.
printf("%c=%d", 'A', 'A')

    => A=65