int main(int argc, char **argv){ cout << "arguments passed to main() : " << endl; for (size_t i = 0; i < argc; i++) { cout << argv[i] << endl; } cout << endl; system("pause"); return 0;}
本文共 244 字,大约阅读时间需要 1 分钟。
int main(int argc, char **argv){ cout << "arguments passed to main() : " << endl; for (size_t i = 0; i < argc; i++) { cout << argv[i] << endl; } cout << endl; system("pause"); return 0;}
转载于:https://www.cnblogs.com/beihaidao/p/5933449.html