Redian新闻
>
How to see the content of a library file
avatar
How to see the content of a library file# Programming - 葵花宝典
t*n
1
In C programming, we usually include some standard library in the program,
such as , a question is: In VC++ platform, (1)where is the file <
stdlib.h> located? (2) can we see its source code and modify some part of its
content to produce a new customized header file?
avatar
u*u
2
1) You sure can. Just search for stdlib.h in your disk, or choose a command
like "open this file" in the right-click menu
2) Most probabily you WON'T be able to see the source code. And , generally
you DON'T want to modify it.

its

【在 t*****n 的大作中提到】
: In C programming, we usually include some standard library in the program,
: such as , a question is: In VC++ platform, (1)where is the file <
: stdlib.h> located? (2) can we see its source code and modify some part of its
: content to produce a new customized header file?

avatar
r*q
3

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is totaly false. VC, BC, GCC all have source code for CLIB
with the compiler. In VC you can even trace in CLIB source.
Sometime you just did not install the source code.

【在 u****u 的大作中提到】
: 1) You sure can. Just search for stdlib.h in your disk, or choose a command
: like "open this file" in the right-click menu
: 2) Most probabily you WON'T be able to see the source code. And , generally
: you DON'T want to modify it.
:
: its

avatar
t*t
4
although you don't want to MODIFY the source code of library,
you can write your own function to replace it. your own
function will have higher priority if you link correctly.

【在 u****u 的大作中提到】
: 1) You sure can. Just search for stdlib.h in your disk, or choose a command
: like "open this file" in the right-click menu
: 2) Most probabily you WON'T be able to see the source code. And , generally
: you DON'T want to modify it.
:
: its

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。