19int main(
int argc,
char *argv[])
24 bool line_marker =
false;
32 for(
int i = 1; i < argc; ++i)
34 const std::string arg = argv[i];
42 std::ifstream input_file(arg);
46 std::cerr <<
"Failed to open " << arg <<
'\n';
54 std::filesystem::path{arg}.filename().
string());
Convert file contents to a C character-array initialiser.
void file_converter_append(std::istream &in, std::ostream &out, bool line_marker, const std::string &file_name)
Append the contents of in to out as the body of a C character-array initialiser; the enclosing braces...