473,657 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Actual C++ Library Source Code


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
}
}
-Tomás
Apr 11 '06 #1
11 2293
"Tom?s" <NU**@null.null > wrote:
Is there anywhere on the internet where you can download actual source
code of an implementation of the C++ library?


I would imagine STLPort provides this:
http://www.stlport.org/

--
Marcus Kwok
Apr 11 '06 #2
"Tomás" <NU**@NULL.NULL > wrote:
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
}
}
-Tomás


All 'big' open source operating systems make available the full source
code for their libraries. Go to the web sites for any Linux
distribution, NetBSD, FreeBSD, OpenBSD, minix, OpenSolaris, etc.
For the STL in particular, search for STLport.
Apr 11 '06 #3
Tomás wrote:

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
}
}


Besides STLport?

--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
Apr 11 '06 #4
Phlip wrote:
Tom�s wrote:
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
}
}


Besides STLport?


Well, there's GNU as well...
Apr 11 '06 #5
Phlip <ph*******@gmai l.com> wrote:
Besides STLport?


maybe this http://incubator.apache.org/stdcxx/ ?
B.

Apr 11 '06 #6
Phlip wrote:
Tom�s wrote:
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
}
}


Besides STLport?


Although it's not free, the Digital Mars C++ compiler CD comes with full
library source code. For a free version, there is of course the gnu
implementation.

-Walter Bright
www.digitalmars.com C, C++, D programming language compilers
Apr 11 '06 #7
In article <GO************ ******@news.ind igo.ie>,
"Tomás" <NU**@NULL.NULL > wrote:
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
}
}


I can't believe no one mentioned this one.
<http://www.sgi.com/tech/stl/>

It's based on Hewlett-Packard's original code (as is gnu's version I
believe...)
--
Magic depends on tradition and belief. It does not welcome observation,
nor does it profit by experiment. On the other hand, science is based
on experience; it is open to correction by observation and experiment.
Apr 11 '06 #8
"Daniel T." <po********@ver izon.net> wrote:
"Tomás" <NU**@NULL.NULL > wrote:
Is there anywhere on the internet where you can download actual source
code of an implementation of the C++ library? Stuff like:


I can't believe no one mentioned this one.
<http://www.sgi.com/tech/stl/>

It's based on Hewlett-Packard's original code (as is gnu's version I
believe...)


I always thought of STLport, (that I and others mentioned,) as a
better, more up-to-date version of SGI's STL, on which it is based.

Are there any reasons to prefer SGI's STL over STLport?
Apr 11 '06 #9
In article <09************ *************** *****@4ax.com>,
Roberto Waltman <us****@rwaltma n.net> wrote:
"Daniel T." <po********@ver izon.net> wrote:
"Tomás" <NU**@NULL.NULL > wrote:
Is there anywhere on the internet where you can download actual source
code of an implementation of the C++ library? Stuff like:


I can't believe no one mentioned this one.
<http://www.sgi.com/tech/stl/>

It's based on Hewlett-Packard's original code (as is gnu's version I
believe...)


I always thought of STLport, (that I and others mentioned,) as a
better, more up-to-date version of SGI's STL, on which it is based.

Are there any reasons to prefer SGI's STL over STLport?


I'm thinking that Tomas wants to study the code to see how it works and
I expect that SGI's version is probably simpler than STLport (though I
could be wrong, I see now that SGI does still revise theirs.)

I think it would be most instructive for Tomas to try to implement his
own STL. :-)
--
Magic depends on tradition and belief. It does not welcome observation,
nor does it profit by experiment. On the other hand, science is based
on experience; it is open to correction by observation and experiment.
Apr 12 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3780
by: SteveB | last post by:
Being a C++ developer, I'm not used to a build performing automagically. For instance, App.config automatically being renamed and placed in the bin\debug folder and project.en-US.resx resource files mysteriously producing satellite DLLs. Yeah this is convienent, but where in the project/IDE is this defined as 'build steps'? How can I view the actual makefile that the VS.NET IDE uses to build the files in a project? Why doesn't the IDE produce...
7
377
by: SteveB | last post by:
Being a C++ developer, I'm not used to a build performing automagically. For instance, App.config automatically being renamed and placed in the bin\debug folder and project.en-US.resx resource files mysteriously producing satellite DLLs. Yeah this is convienent, but where in the project/IDE is this defined as 'build steps'? How can I view the actual makefile that the VS.NET IDE uses to build the files in a project? Why doesn't the IDE produce...
7
289
by: SteveB | last post by:
Being a C++ developer, I'm not used to a build performing automagically. For instance, App.config automatically being renamed and placed in the bin\debug folder and project.en-US.resx resource files mysteriously producing satellite DLLs. Yeah this is convienent, but where in the project/IDE is this defined as 'build steps'? How can I view the actual makefile that the VS.NET IDE uses to build the files in a project? Why doesn't the IDE produce...
44
2455
by: Jeff | last post by:
Hi I have a library mde that is used with some customer databases and I found out that another developer discovered it while doing some maintenance work on an old database for the same customer and has copied it to use with her databases. Naturally, I was not impressed and that story continues. It was not the customers fault. I assume she took a copy of the original code from the customers database and is working out how to use the...
0
8402
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8315
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8734
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5633
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1627
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.