work/source: In function ‘int main()’:
work/source:25: warning: format ‘%s’ expects type ‘char*’, but argument 3 has type ‘char (*)[555]’
work/source:33: error: cannot convert ‘std::string’ to ‘char*’ for argument ‘1’ to ‘int sprintf(char*, const char*, ...)’
work/source:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
work/source:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
