pjk 2014.08.24 16:25 조회 수 : 35082
#include "stdio.h" char hex2ascii(char toconv) { if (toconv<0x0A) toconv += 0x30; else toconv += 0x37; return (toconv); } void main() { char a=0; a=hex2ascii(0x01); printf("%h rn",a); }