?? byte2char.c
字號:
#ifndef _COMMON_DEFINE
#include "COMMON.c"
#endif
void BYTE2CHAR(BYTE in,CHAR *out,BYTE l);
void BYTE2CHAR(BYTE in,CHAR *out,BYTE l)
{
data BYTE temp,i;
i=0;
temp=in/100;
if (l>2) out[i++]=temp+48;
if (temp) in-=(temp*100);
temp=in/10;
if (l>1) out[i++]=temp+48;
if (temp) in-=(temp*10);
temp=in;
out[i++]=temp+48;
out[i]=0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -