From learncpp, I found out that static libraries have .lib extention and dynamic libraries have .dll extention. So if I have a folder which contains test.lib, test.h, main.cpp, and main.cpp includes the test.h header file. How do I use g++ to compile the program?
I normally do g++ main.cpp (without external libraries)
I don't use VS, I use sublime text and g++ from cmd