简体   繁体   中英

Definition/body of the printf & scanf function in C

我在哪里可以找到printf / scanf的定义/主体以及“Borland C”的其他类似的预定义常用函数(getch,clrsr ...等)?

You cannot.. You can just see the prototype of printf/scanf in the header file <stdio.h>

You can find it in the standard library which comes with whatever compiler you are using..

可能你看不到像printf()和scanf()这样的预定义函数的源代码,因为它们已经是扩展名为.lib的编译文件,编译器只需要函数声明,不需要确切的源文件,它们稍后链接链接器生成.exe文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM