的C / C ++函数的源$ C ​​$ C [英] source code of c/c++ functions

查看:89
本文介绍了的C / C ++函数的源$ C ​​$ C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想看看不同的C / C ++函数的实现(也就是像strcpy,stcmp,的strstr)。这将帮助我在C / C知道良好的编码习惯++。你可以让我知道我在哪里可以找到它?

I wanted to have a look at the implementation of different C/C++ functions (like strcpy, stcmp, strstr). This will help me in knowing good coding practices in c/c++. Could you let me know where can I find it?

感谢。

推荐答案

您可以检查出的的glibc 副本,这将有源$ C ​​$ C在C标准库中的所有C函数。这应该是一个很好的起点。

You could check out a copy of glibc, which will have the source code for all C functions in the C standard library. That should be a good starting place.

这篇关于的C / C ++函数的源$ C ​​$ C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆