摘要:
char ch[20];int i =1;int j = 2;char *p = "34567";数字装换为字符串 sprintf(ch , "%d,%d",i,j);字符串转化为数字:sscanf(p,"%d",&i);i的z值就等于34567; 阅读全文
摘要:
string strTemp; list strList; char *ch = new char[512]; strcpy( ch , "1234567890"); strTemp = ch; strList.push_back( strTemp ); char *p = "abcdefg"; strTemp = p; strTemp += strTemp; char *lp = "e:\Project\InfoStation\INFOSTATION05-20.1\OUTPUT\Picture\热烈欢迎01.bmp"; strLis 阅读全文