| 76 | }; |
| 77 | |
| 78 | static void print_date_time() { |
| 79 | std::time_t current_time = std::time(nullptr); |
| 80 | std::tm* local_time = std::localtime(¤t_time); |
| 81 | char buffer[80]; |
| 82 | strftime(buffer, sizeof(buffer), "%Y-%m-%d %H:%M:%S", local_time); |
| 83 | |
| 84 | printf("\n\033[35mrun parameters as at %s\033[0m\n", buffer); |
| 85 | } |
| 86 | |
| 87 | // Define a split string function to ... |
| 88 | static std::vector<std::string> split_string(const std::string& input, char delimiter) { |