C++/regarding c and c++ standard library
Expert: vijayan - 8/16/2008
QuestionI am doing my MSc project to find out code complexity for some companies in both C an C++. And also I want to measure complexity between C an C++ standard libraries. But I am unable to get source code for that standard libraries. Please tell me where I can find source code for these libraries. Please send me the links for both C and C++ standard libraries.
Thank you......
Answerthe gnu compilers and libraries for both C and C++ are perhaps the most widely used by programmers. GNU software is open source under the GNU Public License (GPL2). Sources are readily and freely available via anonymous FTP from any GNU mirror site or GCC mirror site.
list of GNU mirrors are available here:
http://www.gnu.org/prep/ftp.html
list of GCC mirrors are available here:
http://gcc.gnu.org/mirrors.html
for anonymous read-only SVN access, see:
http://gcc.gnu.org/svn.html
in the GNU mirror, look for the directory gcc and under that directory for the version of GCC that you want.
for example, in the GNU mirror
http://gnu.releasenotes.org/gnu/
this is where the GCC 4.2.4 source resides:
ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.2.4/
and ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.2.4/gcc-4.2.4.tar.bz2
or
ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.2.4/gcc-4.2.4.tar.gz
is the full source distribution.