c语言-10进制字符串转16进制字符串

代码1-动态分配: #include <stdio.h> #include <string.h> #include <malloc.h> char *DecToHex(char *pHex,char *pDec,int Declen) { int i,Hexlen = Declen *2; char hex[] = "0123456789"; pHex = (cha
相关文章
相关标签/搜索