I am trying to understand dlls. But it is still a bit vague. So please forgive if this is a very stupid question.
Lets say I have a project with lots of files and a mainfile that #includes those files.
mainfile.cpp:
#include "fileA.h"
#include "fileB.h"
#include "fileC.h"
I can create a mydll.dll from this project. A lib is created along with that. (I used C++, VS)
Then I have a project UseMydll that uses this dll. There I include
#include "pch.h"
#include "fileA.h"
#include "fileB.h"
#include "fileC.h"
So whats the point then in creating the dll if I still need to include and provide my fileA,fileB,fileC ?