摘要: #include <iostream>int testString(){ char szBuff[1024]; memset(szBuff, 0, sizeof(szBuff)); snprintf(szBuff, sizeof(szBuff), "%s", "abcdefg01\023\0456\r78\n9"); int * parr = new int[20]; for (int i = 0; i < 20; i++) { parr[i] = i; parr[i] = i + 1; parr[i] = i + 2; } print 阅读全文
posted @ 2010-05-11 19:11 酱油和醋 阅读(223) 评论(0) 推荐(0) 编辑