Last Update 2012/07/05
引数intをunsigned charの「文字」に変換します。
(例)
#include <stdio.h>
int main()
{
printf("c変換 : [%c]\n", 0x30);
printf("c変換 : [%c%c%c]\n", 0x41, 0x42, 0x43);
return 0;
}
実行結果
c変換 : [0]
c変換 : [ABC]
© loose-info.com All Rights Reserved.