开发者

Can I debug into the source code of stdio within Eclipse CPP?

开发者 https://www.devze.com 2023-03-18 22:36 出处:网络
I\'m new to Eclipse CPP helios. Does it include the source code of C library like stdio? I want to know how the various functions in stdio are i开发者_运维问答mplemented. How can I do it? Thanks.The s

I'm new to Eclipse CPP helios. Does it include the source code of C library like stdio? I want to know how the various functions in stdio are i开发者_运维问答mplemented. How can I do it? Thanks.


The source (or lack thereof) of stdio from libc is a matter for the compiler / Operating System, not Eclipse. You don't mention which platform (Linux, OS X, Windows) you're running, however in general the full source to libc is not installed by default.

The header files, however will be and do have the implementation of some (inline) methods in them. Exact instructions for obtaining source will vary based on your OS, but for example here are some links to GNU libc (Linux), and Apple's libc (based on BSD).

0

精彩评论

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