int main(int argc, char *argv[]) argc:main函数接收的参数个数 argv:以字符串形式存储了main函数接收到的具体参数,其中argv[0]的值为可执行文件的名称。