I have these modules
sum_module.h
int sum(int x, int y);
tim_module.h
int tim(int x, int y);
I want to create a module called myModule.lib that allows me to use these function in my main program. The idea is to add myModule.lib to the main project and include myModule.h
My question is : When I create the library (myModule.lib), does it contain a main.c and a main.h ? if yes, is main.h equivalent to myModule.h ? What should I put in the main.c ?