问题描述:

The C standard library for example has some standard functions like printf,.

What exactly the relation between the standard library and the run time library ?

Is the run time library just the dll's (under windows) part of the standard library? so when I call the printf in my program , the compiler links my program "dynamically" to the dll file(MSVCR100D.dll) that exports the printf so both my program and that dll are loaded in memory at loading time ?

is that dll (MSVCR100D.dll) that has the exported printf is exactly the C run time library or the run time library is something else???

网友答案:

In the case of MSVC, the runtime library MSVCRxxx.DLL contains all of the code for the C/C++ standard library.

相关阅读:
Top