Programming, System Programming, Win32, C.
g_cmds[i].name != NULL; ++i) if (!strcmp(g_cmds[i].name, g_params[0])) { g_cmds[i].Proc(); break; } if (g_cmds[i].name == NULL) printf("'%s' is not recognized as an internal or external command, operable program or batch file.\n\n", g_params[0]); if (!strcmp(g_cmd, "quit")) break; } return 0; }