开发者

msvcprt and crt

I have editbin msvcprt and look for scanf for instance but i can't find it.

Does it mean crt i开发者_如何学Pythons not encapsulate in msvcprt ? Does it mean cin function doesn't use scanf ?


There are two libraries: the C Run-Time library (called the "CRT") and the Standard C++ Library. The scanf function is a part of the CRT, not the Standard C++ Library.

Both the CRT and the Standard C++ Library are linked in automatically when you compile a C++ program. You can read the details about which libraries get linked in when on the C Run-Time Libraries documentation on MSDN.

In this specific case, the corresponding CRT library for the msvcprt.lib version of the Standard C++ Library (/MD / Multithreaded DLL) is msvcrt.lib.


You are using the wrong tool and the wrong file. Use dumpbin.exe and msvcrt.lib

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜