//WinMainでの引数(argc,argv) int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPreInst, LPSTR lpszCmdLine, int nCmdShow) { for(i=1; i < __argc; i++) printf(“%s\n", __argv[i]); } //______________________________________ //ロケーション設定 setlocale(LC_ALL, “Japanese_Japan.932");