首页 > 代码库 > 调试console程序时,设置argc and argv

调试console程序时,设置argc and argv

技术分享

 

 

    printf("%s\n",argv[0]);
    printf("%s\n",argv[1]);
    printf("%s\n",argv[2]);
    printf("%s\n",argv[3]);

 

Result is :

 

技术分享

 

调试console程序时,设置argc and argv