在c#中名字中将int型转成char型答:将int型转成char型?完全不明白 将一组数存到一个数组?也不明白 我大概猜下你想做什么 猜想1:一个字符串"s1,s2,s3,s4...sn"分解成数组 猜想2:将字符串数组{"s1","s2"..."sn"}转化成int[] {1,2,3,4,...n} 猜想3:将字符串数组{"s1","s2"..."sn"}转化成char[] {1,2,...
C++ BYTE数组转字符串答:include<stdio.h> fun(byte x, int* a, int* b){ a = x / 0x10;b = x % 0x10;} main(){ int i, a, b;char output[256] = "";byte x[] = {0x12, 0x34, 0x56};for (i = 0; i < 3; i++){ fun(x[i], &a, &b);sprintf(output, "%s%d", output, a);i...