从外部传递参数
argc
和
argv[]
是
main
函数的参数,
argc
表参数数量,
argv[]
存储参数,主程序是第一个参数。
argv[]
为字符型,可以通过函数强制转化。
E.g. 从外部传递参数