473,387 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C++ Nuts and Bolts - Source Code for the Standard C/C++ Library

17
Hi
I'm new to C++ and cannot seem to find a diagram that

1. Lists the files that make up the Standard C/C++ Library in terms of the ANSI standard (ISO/IEC 14882-2003)

2. Obtain the source code for each of the files contained in the Standard Library

3. Documentation explaining each of the Standard Library Files are how they are to be used.

Since I'm a nuts and bolts kind of person (how does it actually work) I would like to obtain this information. I understand that the Standard Libraries are included in the compiler (per each company's interpretation of the standard), and we don't have to fully understand the library but only make refernce to it in our programming. Once I have these libraries I would like to know how to build / use libraries so that I can create applications using networks, internet, GUI's etc.

Anyone with a really good understand of how C++ is structured / organised please provide information.

Regards
Tukumbi
Jan 14 '07 #1
2 2278
Banfa
9,065 Expert Mod 8TB
The standard library does not have a set of standard source files.

All the standard defines is the prototypes of each function and what that function should actually do.

What this means is that each compiler manufacturer is free to write the functions in there own way as long as they have the right prototype and do the right thing.

I result of this is that even if you do manage to find source code for the standard library you have no guarantee that it performs the functions in the same manor as the functions in the libraries for your compiler (unless the source is that shipped with the compiler).

No 3 on your list can be achieved by buying any good C/C++ book, you could also look here.
Jan 14 '07 #2
Tukumbi
17
I'm obviously failing to understand something fundamental.
C/C++ can be used to develop:
1. An operating system
2. Programs that run on the operating system (in console mode)
3. Programs that run with a GUI

so how are compilers made (developed), surely also with C & C++ (& or assembly), so surely source code for all of the above should be available.
If we are trying to achieve full Open Source then this should be available.

I mean, lets say I would like to create a compiler (based on the C++ ANSI standard) where does one start. Once this is done I would like to know how to progress to creating an operating system and then to creating programs in console mode (where most of C++ books focus on), and then move on towards programming in C++ towards GUI's and Network programs (incl Web based).

I feel that the scope of C++ programming in its entirety, is limited to the standard and does not allow a person to learn the full development of software for a computer machine of bascially different electrical circuits with alternating voltages.

Please if someone can provide a good link or explanation of THE WHOLE COMPUTER SOFTWARE DEVELOPMENT environment it would be appreciated.

regards
Tukumbi
Jan 16 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

22
by: Liang Chen | last post by:
Is the file "bcopy.c" in the "libitery" directory the implement of the GNU C library function "bcopy"? If so, how can it run so fast?(copy-by-byte rather than copy-by-word) When I copy the code of...
6
by: Tera | last post by:
can you please give me a link ?
14
by: gilad | last post by:
Hi, I have just released the initial beta of a C# project called 'aumplib'. aumplib is a C# namespace which is made up of a set of classes that interface several prominent open source audio...
12
by: Marty | last post by:
It seems all of the sudden that user controls that contain images are referencing image sources relative to the document that I drop the control on. This obviously does not work beacuase the...
7
by: wwxw_0 | last post by:
I am going to have some look at the ansi C implemention source of linux, such as stdio, file operation and so on, Where can I get some source code, I have downloaded linux source code but I cann't...
11
by: Tomás | last post by:
Is there anywhere on the internet where you can download actual source code of an implementation of the C++ library? Stuff like: namespace std { class string { // actual code in here } }
4
by: The Grue - James T. Sprinkle | last post by:
Does anyone know where I can download the source code to accompany PJ Plauger's book "The Standard C Library"? I find a lot of references for the library, but not the actual source code from the...
3
by: Object01 | last post by:
I wanted to prove a concept, so wrote a page that does the following: public void btn_click() { File.CreateText("file.txt"); Response.BufferOutput = false;...
22
by: Ken Foskey | last post by:
On Thu, 14 Aug 2008 10:09:01 -0700, raylopez99 wrote: The facts of the case above are that the person took a whole application and distributed it after some minor modifications, ie they did not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.