【发布时间】:2021-03-28 20:39:37
【问题描述】:
如何从下面的代码部分中删除文件名?
else { /* PROCESS D*/
execl("/bin/wc","wc","-l","temp1.txt", NULL);
printf("If this message shows up it's an error on process D");
}
输出为:Found items: 7 temp1.txt
但我希望是这样的
找到的物品:7
【问题讨论】: