From the RobotC support forum:
Yes, this can be done by using an #include statment
if you would have a file in the same folder as your regular code called “code2.c”
and wanted it to be in your main code file, you would insert the line
#include "code2.c"
This inserts the code from the included file at the location specified. You can see how the file truly looks by clicking on listing