易百教程

什么是命令行参数?

执行程序时传递给main()函数的参数被称为命令行参数。比如说:

main(int count, char *args[]){  
//code to  be executed  
}