天天看点

mian函数参数用法mian函数参数用法

int main(int argc, char *argv[]){}

argc:传入字符串常量个数。

argv 是字符串数组,argv[i]指向第i个字符串常量。第0个为程序名。

mian函数参数用法mian函数参数用法