strcpy_s 用法 及 指針數組的理解 - gotomic的專欄 - 博客頻道 - CSDN.NET
正確用法: int n = 6; char **argsmy = new char *[n]; int maxlen = 600; for(int i = 0; i < n; i ++) { argsmy[i] = new char [maxlen];// args[i]; } strcpy_s(argsmy[1],maxlen,"e"); strcpy_s(argsmy[2],maxlen,"Lzma_"); strcat_s(argsmy[2], 600, cTAppEncTop ......