#include <stdlib.h> //需要包含头文件 char cmd[40] = {0}; snprintf(cmd,40,"echo %d >>/data/%d.txt", i, j); system(cmd);
本文标题:c语言调用shell
本文链接:https://www.haomeiwen.com/subject/osnbnhtx.html
网友评论