| 26 | } |
| 27 | |
| 28 | std::pair<int, char*> commandLine::sizeAndFileName() const { |
| 29 | if (argc < 3) badArgument(); |
| 30 | return std::pair<int, char*>(atoi(argv[argc - 2]), (char*)argv[argc - 1]); |
| 31 | } |
| 32 | |
| 33 | bool commandLine::getOption(const std::string& option) const { |
| 34 | for (int i = 1; i < argc; i++) |