C语言求助:argv为什么是指向指针的指针
#include<stdio.h>intmain(intargc,char*argv[]){intcount;printf("Thecommandlinehas%darg...
#include<stdio.h>
int main(int argc, char *argv[])
{
int count;
printf("The command line has %d arguments:\n", argc-1);
for(count=1;count<argc;count++)
printf("%d: %s\n",count,argv[count]);
printf("\n");
return 0;
} 展开
int main(int argc, char *argv[])
{
int count;
printf("The command line has %d arguments:\n", argc-1);
for(count=1;count<argc;count++)
printf("%d: %s\n",count,argv[count]);
printf("\n");
return 0;
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询