#include <stdio.h> #include <conio.h> int main(int argc, char* argv[]) { printf_s("argc = %d\n", argc); for (int index = 0; index < argc; ++index) { printf_s("arg[%d] = %s\n", index, argv[index]); } _getch(); }