printf ("%d",val); //would display in decimal format printf("%x",val); //would display in hex ... Read this section from MSDN for details.
確定! 回上一頁