I have a project as it:
main.cpp
TaskManager.cpp
Web.cpp(UseHTTPRequest.hppLIB)
I'm using main.cpp for simple web request, however TaskManager is really big in size, which is why it is in a different file.
TaskManager need to send web request (like main.cpp does) but when I tried to use
#include "Web.cpp"
inside TaskManager.cpp, 60+ errors pops out, obviously I realize this is because Web.cpp is already called inside main.cpp.
But I don't know what to do to be able to use the same functions as Web.cpp from different files.