I have a c++ project with multiple source files and multiple header files. I want to submit my project for a programming contest which requires a single source file. Is the
well, this is possiable, I have seen many project combine source files to single .h and .c/.cpp, such as sqlite
but the code must have some limits, such as you should not have static global variable in one of your source codes.
there may not have a generic tool for combine sources.you should write one base on your code.
here is some examples
gaclib source pack tool