Why should I include some * .lib, .h or some other files in the project? And what are these things used for?
.h : header file, its source file containing declarations (unlike .cpp, .cxx, etc., containing implementations),
.h
.lib : a static library may contain code or simply links to a dynamic library. In any case, he compiled the code that you link to your program. A static library is included in your .exe at link time.
.lib
.dll : dynamic library. Just like static, but you need to deploy it with your .exe file because it is loaded at runtime.
.dll
*. dlb is like a static library.