How to use self built header files while submitting code

Правка en2, от NurImtiaz137, 2017-06-17 08:05:16

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:

include "Something.h"

// 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?

Теги header file, online judge, submission

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский NurImtiaz137 2017-06-17 08:06:13 28
en2 Английский NurImtiaz137 2017-06-17 08:05:16 92
en1 Английский NurImtiaz137 2017-06-17 08:00:53 678 Initial revision (published)