I am very keen to know is there any way to send header files and their definition files along with main code file to online judges for evaluation. Like, I have a header file Something.h, its definition file (hello.cpp) and main file A.cpp
Something.h: class Something{ void hello(); }
hello.cpp: void Something :: hello() { //Definition } A.cpp: // Implementation of problem statement that includes "Something.h"
Or is their any way I can send the executable file instead of program files? If no, then why they do not provide such capability? Why they do not encourage to use header files?