473,386 Members | 1,715 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,386 software developers and data experts.

Where do I get the C++ STL?


Hello:

I am an experienced C and Java programmer, trying to teach myself C++.

I would like to stay away from proprietary technologies and write
portable, standards based code.

My two development platforms are the natural ones for Windows and
Unix.

I highly doubt that STL comes with Visual C++, but what about GCC? Is
STL included?

TIA,

-RFH

Jun 27 '08 #1
9 2627
On Apr 23, 4:28 pm, Ramon F Herrera <ra...@conexus.netwrote:
Hello:

I am an experienced C and Java programmer, trying to teach myself C++.

I would like to stay away from proprietary technologies and write
portable, standards based code.

My two development platforms are the natural ones for Windows and
Unix.

I highly doubt that STL comes with Visual C++, but what about GCC? Is
STL included?

TIA,

-RFH
An implementation of the STL comes in the form of a library that is
shipped with your compiler. The STL is part of the C++ Standard and
therefore part of the library that represents the Standard C++
library, a specific implementation of which comes with your compiler.

gcc has such a library as does Visual Studio.

Remember that just because something is "standard" does not mean all
implementations are the same, only that they adhere to a standard
interface and/or behavior.

If you write standard conforming C++, it should compile using any
standard conforming compiler.

Jun 27 '08 #2
"Ramon F Herrera" <ra***@conexus.netwrote in message >
Hello:

I am an experienced C and Java programmer, trying to teach myself C++.

I would like to stay away from proprietary technologies and write
portable, standards based code.

My two development platforms are the natural ones for Windows and
Unix.

I highly doubt that STL comes with Visual C++, but what about GCC? Is
STL included?
You mean to ask if the standard library implementation doesn't come with
VC++? Well, you'd be surprised, but it is a good enough compiler (at least
after version 7.1). g++ is also good. I personally use g++ 3.4.6.

--
http://techytalk.googlepages.com
Jun 27 '08 #3
On Apr 23, 5:38 pm, Christopher <cp...@austin.rr.comwrote:
>
gcc has such a library as does Visual Studio.
Great news. I wrongly assumed that Microsoft had replaced the Standard
with their so-called "Advanced" Template Library.

Thanks!

-Ramon

Jun 27 '08 #4
Ramon F Herrera wrote:
I highly doubt that STL comes with Visual C++
You highly doubt that STL comes with Visual C++? And why is that?
Microsoft is infamous for breaking standards, but they don't go *that* far.

The STL is part of the ISO C++ standard, and Visual C++ does of course
include an implementation.
Jun 27 '08 #5
Ramon F Herrera wrote:
On Apr 23, 5:38 pm, Christopher <cp...@austin.rr.comwrote:
gcc has such a library as does Visual Studio.

Great news. I wrongly assumed that Microsoft had replaced the Standard
with their so-called "Advanced" Template Library.

Thanks!

-Ramon
ATL != STL

Not even slightly!

http://en.wikipedia.org/wiki/Active_Template_Library

Andy
Jun 27 '08 #6
I suggest you install the Dev C++, it includes the mingw gcc 3.4
compiler, C\C++ library and Win32 API library.

STLport is the stl offical version, you can compile it yourself.

Visual Studio is also a good choise, but do not forget downlaod the
Platform SDK.
Jun 27 '08 #7
On 2008-04-24 06:10:01 -0400, Bo Schwarzstein <Bo*************@gmail.comsaid:
>
STLport is the stl offical version, you can compile it yourself.
Official according to whom?

--
Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com) Author of "The
Standard C++ Library Extensions: a Tutorial and Reference
(www.petebecker.com/tr1book)

Jun 27 '08 #8
On Apr 24, 12:10 pm, Bo Schwarzstein <Bo.Schwarzst...@gmail.com>
wrote:
I suggest you install the Dev C++, it includes the mingw gcc
3.4 compiler, C\C++ library and Win32 API library.
You'll likely want an upgrade of the compiler, if that's the
case.
STLport is the stl offical version, you can compile it yourself.
There is no official version of the official library. Of the
four different implementations I use (g++, Rogue Wave, STL port
and Dinkumware), it is by far the worst, with serious problems
in both the iostreams and the locale sections.

--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
Jun 27 '08 #9
On 24 Apr, 11:10, Bo Schwarzstein <Bo.Schwarzst...@gmail.comwrote:
I suggest you install the Dev C++, it includes the mingw gcc 3.4
compiler, C\C++ library and Win32 API library.

STLport is the stl offical version, you can compile it yourself.

Visual Studio is also a good *choise, but do not forget downlaod the
Platform SDK.
...if you want to do Win32 development

--
Nick Keighley
Jun 27 '08 #10

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

Similar topics

47
by: Andrey Tatarinov | last post by:
Hi. It would be great to be able to reverse usage/definition parts in haskell-way with "where" keyword. Since Python 3 would miss lambda, that would be extremly useful for creating readable...
3
by: A.V.C. | last post by:
Hello, I found members of this group very helpful for my last queries. Have one problem with CASE. I can use the column name alias in Order By Clause but unable to use it in WHERE CLAUSE. PLS...
3
by: Xiangliang Meng | last post by:
Hi, all. In 1998, I graduated from Computer Science Dept. in a university in China. Since then, I've been using C Language for almost 6 years. Although I'm using C++ in my current job, I'm also...
7
by: Britney | last post by:
Original code: this.oleDbSelectCommand1.CommandText = "SELECT TOP 100 user_id, password, nick_name, sex, age, has_picture, city, state, " + "country FROM dbo.users WHERE (has_picture = ?) AND (sex...
5
by: comp.lang.php | last post by:
if ($willLimitByDB) $sql = preg_replace('/#(+)#/i', '$$1', $sql); This does not give me the results I want, instead of the value of $where in $sql, I literally get '$where' instead. How do I...
5
by: John | last post by:
I just cannot manage to perform a SELECT query with NULL parameter... My CATEGORY table does have one row where TCATEGORYPARENTID is null (real DB null value). TCATEGORYID and TCATEGORYPARENTID...
0
NeoPa
by: NeoPa | last post by:
Background Whenever code is used there must be a way to differentiate the actual code (which should be interpreted directly) with literal strings which should be interpreted as data. Numbers don't...
1
by: not_a_commie | last post by:
I was hoping for increased functionality with the where clause in C# 3.0. Using the new keyword 'var' would really allow us to take nice advantage of these. Specifically: 1. I want to limit it...
9
by: Emin | last post by:
Dear Experts, I have a fairly simple query in which adding a where clause slows things down by at least a factor of 100. The following is the slow version of the query ...
8
by: chrisdavis | last post by:
I'm trying to filter by query or put those values in a distinct query in a where clause in some sort of list that it goes through but NOT at the same time. Example: ROW1 ROW2 ROW3 ROW4 ,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...
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.