代码搜索:数字转换

找到约 10,000 项符合「数字转换」的源代码

代码结果 10,000
www.eeworm.com/read/183362/9167166

c array2char.c

/* array2char()的目的是把一个四元素(数字)数组转换成一个字符串, 测试结果把{192,168,1,1}转换成"192.168.1.1"字符串; */ #include "string.h" #include "stdio.h" char *array2char(unsigned char array[],int arraylen) { int i; uns
www.eeworm.com/read/374877/9380326

c adc0804.c

//拧动AD旁边的电位器,会在数码管的前三位显示0-255之间的数//值。这就是把模拟信号转换成数字信号,即模数转换。 #include #include #define uint unsigned int #define uchar unsigned char sbit adrd=P3^7; //RD
www.eeworm.com/read/11251/214705

c 7_09.c

/*【例7-9】输入一个以回车结束的字符串(少于10个字符),它由数字字符组成,将该字符串转换成整数后输出。*/ /* 将字符串转换为整数 */ #include int main(void) { int i, n; char s[10]; /* 输入字符串 */ printf("Enter a string: ");