Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Explain STL

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-11-2009
Member
 
Join Date: Sep 2009
Posts: 152
Explain STL
  

I have been working on C++ for the last tw months. I have found it very easy to understand and code. But recently I am stuck on a topic - STL. What exactly is STL ? I have no clue about this. I have read my C++ book but there is not much mentioned about it. Can anyone explain it to me ?

Reply With Quote
  #2  
Old 10-11-2009
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: Explain STL

Yes, it is not that commonly known to all C++ begginner as to what exactly STL is. STL stands for Standard Template Library. The Standard Library is a fundamental part of the C++ Standard. The C++ Standard Template Library is a generic collection of class templates and algorithms that permits developers to easily implement standard data structures like lists, stacks and queues. It is said to provide iterations, functors, containers and algorithms. This C++ STL is derived from STL published by Silicon Graphic Inc.
Reply With Quote
  #3  
Old 10-11-2009
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: Explain STL

An already existing set of common classes for C++ is provided by the C++ Standard Library - STL(Standard Template Library). It is a library that constains container classes, iterators and algorithms to work with the contents of these containers. Algorithms of STL are not dependent on containers, which thus reduces the complexity of the library to a great extent.
Reply With Quote
  #4  
Old 10-11-2009
Member
 
Join Date: Feb 2008
Posts: 1,846
Re: Explain STL

The Standard Template Libraries i.e. STL are a set of C++ template classes which provide common programming data structures and functions such as paired arrays (map), doubly linked lists (list), large string storage, expandable arrays (vector) and manipulation (rope), etc. There are two types of STL containers in C++:
Sequence Containers- C++ Vectors, C++ Lists and C++ Double-Ended Queues.
Associative Containers- C++ Maps, C++ Multimaps, C++ Sets, C++ Multisets.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Explain STL"
Thread Thread Starter Forum Replies Last Post
Explain an MP3 Encoder Juily Windows Software 4 09-09-2011 08:59 PM
Explain me about dbx in PHP!! Steyn Software Development 5 07-03-2010 04:50 AM
SMS Gateway: Will you explain? Zecho Technology & Internet 3 21-11-2009 01:20 PM
Explain : dsca.exe Asaph Operating Systems 3 15-06-2009 10:44 PM
What is JAR file? Please explain Athos Software Development 4 02-03-2009 05:57 PM


All times are GMT +5.5. The time now is 04:23 AM.