| 165 | } |
| 166 | |
| 167 | bool CheckFileName(std::string name) { |
| 168 | std::ofstream write_stream; |
| 169 | write_stream.open(name); |
| 170 | if (!write_stream || !write_stream.is_open() || !write_stream.good()) { |
| 171 | write_stream.close(); |
| 172 | return false; |
| 173 | } |
| 174 | write_stream.close(); |
| 175 | return true; |
| 176 | } |
| 177 | |
| 178 | void PrintConfig() { |
| 179 | printf( |