views:

54

answers:

2

Hello,

I just wanted to know what is inside the Visual C ++ runtime DLLs? What code? Which functions? Just curious about that.

Thanks in advance.

+3  A: 

Is contains standard functions, like prinft, exit etc.

You can find the source code for the library in "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\crt\src" (This is Visual Studio 2008)

The basic dll for Visual Studio 2008 is is msvcrt90.dll

See also this link

Arve
If that's is true why I do not need to deploy a C runtime when I compile an application that uses printf with gcc for example?
SoMoS
+1  A: 

The runtime contains code, that is common to/needed in all C++ programs ('think default libraries') and generaly links your code to the OS and it's API.

Code to initialise the app, set up I/O, minimal error reporting/logging, memory management etc ..

lexu