C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

STL Question

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Walt L. Williams
Guest





PostPosted: Fri Jan 28, 2005 12:43 pm    Post subject: STL Question Reply with quote



Greetings

I am a CS student. I ran into the term
"STL" receintly. What is STL?

--
Walt L. Williams
Back to top
Walt L. Williams
Guest





PostPosted: Fri Jan 28, 2005 12:47 pm    Post subject: Re: STL Question Reply with quote



Walt L. Williams wrote:

Quote:
Greetings

I am a CS student. I ran into the term
"STL" receintly. What is STL?

Holy smokes "receintly" how about "recently"

(This is what a spell checker is for; right?)
--
Walt L. Williams

Back to top
Thomas Matthews
Guest





PostPosted: Fri Jan 28, 2005 12:48 pm    Post subject: Re: STL Question Reply with quote



Walt L. Williams wrote:
Quote:
Greetings

I am a CS student. I ran into the term
"STL" receintly. What is STL?


Standard Template Library.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library


Back to top
TJ
Guest





PostPosted: Fri Jan 28, 2005 12:52 pm    Post subject: Re: STL Question Reply with quote

The first link I got when I googled "STL" is this

http://www.sgi.com/tech/stl/
This is a good start for STL.

I would say it is the best and optimized template library. It is fun
learning and using STL. Hope you would enjoy learning.

There are lot other sites that would help you learn STL. MSDN is also
a good reference.

All the best.
-TJ

Back to top
Jigar Mehta
Guest





PostPosted: Fri Jan 28, 2005 12:56 pm    Post subject: Re: STL Question Reply with quote

Can you please give an example of STL ?? which class (taking for
example) are included in STL ?? Is CList, CArray included in STL ???

Back to top
Shezan Baig
Guest





PostPosted: Fri Jan 28, 2005 2:53 pm    Post subject: Re: STL Question Reply with quote


Jigar Mehta wrote:
Quote:
Can you please give an example of STL ?? which class (taking for
example) are included in STL ?? Is CList, CArray included in STL ???

Look at the SGI link mentioned earlier. Look at the "Table of
Contents", it has all you need to know there.
No, CList and CArray are from MFC, not STL.

-shez-


Back to top
Dietmar Kuehl
Guest





PostPosted: Fri Jan 28, 2005 2:56 pm    Post subject: Re: STL Question Reply with quote

Jigar Mehta wrote:
Quote:
Can you please give an example of STL ??

What do you mean with "example of STL"? The "Standard Template
Library", "STL" for short, is a library as specified by a paper
by Alexander Stepanov and Meng Lee (see
<http://www.hpl.hp.com/techreports/95/HPL-95-11.html>) which
became an accepted proposal for the standard C++ lirary.
Historically, the facilities described in the paper are what
compromises the "STL". The term "STL" is today often confused
with the standard C++ library.

Quote:
which class (taking for example) are included in STL ??

Actually, there are only very few classes included in the STL
and those which are are essentially rather technical class you
are probably not really interested in. However, the STL includes
a fair amount of class and function templates plus, much more
important than either of those, a set of concepts (in the paper
the concepts were characterized through sets of requirements and
I think the term "concept" was not used at that time). The class
templates fall into several categories. There are class
for

- containers, e.g. 'std::vector', 'std::list', 'std::map'
- iterators, e.g. 'std::reverse_iterator', 'std::ostream_iterator'
- functors, e.g. 'std::less', 'std::plus'
- traits, e.g. 'std::iterator_traits'

There are function templates for

- general algorithms, e.g. 'std::copy()', 'std::sort()'
- numeric algorithms, e.g. 'std::accumulate()'
- simplified object creation, e.g. 'std::back_inserter()'

Quote:
Is CList, CArray included in STL ???

No. There is a list and a choice of random access containers but
with a rather different interface.
--
<mailto:dietmar_kuehl (AT) yahoo (DOT) com> <http://www.dietmar-kuehl.de/>
<http://www.contendix.com> - Software Development & Consulting


Back to top
Thomas Matthews
Guest





PostPosted: Fri Jan 28, 2005 7:29 pm    Post subject: Re: STL Question Reply with quote

Walt L. Williams wrote:
Quote:
Greetings

I am a CS student. I ran into the term
"STL" receintly. What is STL?

Walt,
When posting to multiple groups, please put
each group into the "To:" field instead of
posting separately to each group. This will
allow you and everybody to see all of the
discussion with out having to bounce between
groups.

{Added comp.lang.c++ to show them of the
cross-posting.}

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library


Back to top
Ioannis Vranos
Guest





PostPosted: Sat Jan 29, 2005 1:05 am    Post subject: Re: STL Question Reply with quote

Walt L. Williams wrote:

Quote:
Greetings

I am a CS student. I ran into the term
"STL" receintly. What is STL?

A subset of the standard library (in fact the largest part of it),
consisting of templates.




--
Ioannis Vranos

http://www23.brinkster.com/noicys

Back to top
Jigar Mehta
Guest





PostPosted: Sat Jan 29, 2005 4:21 am    Post subject: Re: STL Question Reply with quote

Thanks for satisfcatory reply...

Back to top
Walt L. Williams
Guest





PostPosted: Fri Feb 18, 2005 2:10 pm    Post subject: Re: STL Question Reply with quote

Actually I was previously advised not to do that.
That I should post to each group separately.

W.

Thomas Matthews wrote:

Quote:
Walt L. Williams wrote:
Greetings

I am a CS student. I ran into the term
"STL" receintly. What is STL?

Walt,
When posting to multiple groups, please put
each group into the "To:" field instead of
posting separately to each group. This will
allow you and everybody to see all of the
discussion with out having to bounce between
groups.

{Added comp.lang.c++ to show them of the
cross-posting.}


--
Walt L. Williams



Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.