c語(yǔ)言中寫二進(jìn)制數(shù)。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c =
c語(yǔ)言中寫二進(jìn)制數(shù)。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c = Bin(10101001) // c = 0xA9 }...
c語(yǔ)言中寫二進(jìn)制數(shù)。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c = Bin(10101001) // c = 0xA9 }...
拼音輸入法杳詢函數(shù): unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val為已輸入的拼音碼字符串頭指針, 反回值為中文的起始地址,當(dāng)為0時(shí),杳詢失敗...
可預(yù)置的8位計(jì)數(shù)器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //變量類型的宏定義 #define uint unsigned int uchar code SEG7[10]={0x...
A collection of math routines including 8-bit, 16-bit, 32-bit signed and unsigned addition, subtraction, multiplication, and division. Very nice code ...
一個(gè)用C51實(shí)現(xiàn)單片機(jī)的中文輸入法,拼音輸入法杳詢函數(shù): unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val為已輸入的拼音碼字符串頭指針,反回值為中文的起始地址,當(dāng)為0時(shí),杳詢失敗...