摘要: 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; 阅读全文
posted @ 2013-11-13 17:41 友琼 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2013-11-13 17:16 友琼 阅读(913) 评论(0) 推荐(0) 编辑