NurImtiaz137's blog

By NurImtiaz137, history, 7 years ago, In English

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?

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it