Is there anything in C++ which is the "opposite" of header files? Instead of a source file including a header, this "opposite" file would specify the source.
For example, if I make a source.bpp ("bottom ++ file") and the last row is #outclude "target.cpp" then when building target.cpp, the build system would somehow find the file with the #outclude "target.cpp" line (source.bpp) and concatenate that file to the bottom of the target.cpp file.
This would be useful, because I cannot modify some source code in the project, but with these I could extend them. (Yes, I could do it manually, but there are 400 k rows in the project, and the rule is that I must use the old files without modification of the files.)