#include<iostream.h>
//ECHO.CPP
void main(int argc,char *argv[]) 
{
 for(int i=0;i<argc;i++)cout<<argv[i]<<'\t';
 cout<<'\n';
} 
int argc;//表示读入字符串个数
char *argv[];//指针数组,用来存放读入的字符串
程序的意思逐个输出所有读入的字符串,每个字符串间空一个制表符间隔

相关文章:

  • 2021-07-24
  • 2021-07-12
  • 2021-06-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-07
相关资源
相似解决方案