I want to include a headline from the Internet. For example: the file add.h and add.cpp were sent to github.com
file add.h is int add (int a, int b);
file add.cpp is int add (int a, int b) {return a + b;}
in my main.cpp I need code like this
#include "github.com/xxx/add.h" int main(){ int a = add(1,1); }
When compilation starts, the compiler can automatically download add.cpp from github.com
Could this happen?
source share