摘要:
#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 阅读全文