/* * The Evolution Mission Manager * Header: $ Rev 0 / 0:00 September 05 / nesl247 */ /* Changelog: * Rev 0: * Initial Code */ #include int main(int argc, char *argc[]) { // Get all the command arguments that are valid std::string cmd_args[] char cmd_args_short[] std::string inv_args[] for (int i = 0; i < argc; i++) { if (argc[i][0] == "-" && (argc[i][1] != NULL && argc[i][1] != "-")) { // Check if arg is short char short_arg[argc[i].substr(1, argc[i].size())] for (int j = 0; j < argc[i].substr(1, argc[i].size()); j++) { short_arg[] = argc[i][j] } } else if (argc[i][0].substr (0, 2) == "--") { // Check if arg is long cmd_args[] == argc[i].substr(3, argc[i].size()) } } // End loop through argc return 0 }