How to use self built header files while submitting code

Revision en3, by NurImtiaz137, 2017-06-17 08:06:13

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:

include "Something.h"

void Something :: hello() { //Definition }

A.cpp: // Implementation of solution to a problem

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?

Tags header file, online judge, submission

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English NurImtiaz137 2017-06-17 08:06:13 28
en2 English NurImtiaz137 2017-06-17 08:05:16 92
en1 English NurImtiaz137 2017-06-17 08:00:53 678 Initial revision (published)