During compilation and linking, what is use of .exp? What is the difference between .lib and .dll? I know that .lib will be used, while linking and .dll will be used when running the program. But what exactly is the difference between .lib and .dll?
Does .lib file not contain the code for the functions coming from .dll files?
What is the need for using two separate files?