知识点是关于main函数的int argc,假设你编译完是a.exe
你再在控制台运行a.exe test test看看结果如何。
你可以搜下main函数argc argv[]