You are here:

C++/regarding c and c++ standard library

Advertisement


Question
I 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......

Answer
the 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.

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


vijayan

Expertise

my primary areas of interest are generic and template metaprogramming, STL, algorithms, design patterns and c++11. i would not answer questions about gui and web programming.

Experience

about 15 years or so

Education/Credentials
post graduate engineer

©2016 About.com. All rights reserved.