int main(int argc,char * argv[]){ return 0; } argc为参数个数 argv为字符串数组,c中字符串用char[] 来存储,argv[0] argv[1] argv[2]