What is the STL?
Answers were Sorted based on User's Feedback
Answer / saroj das ,balsore
C++ Standard Template Library
The C++ STL (Standard Template Library) is a generic
collection of class templates and algorithms that allow
programmers to easily implement standard data structures
like queues, lists, and stacks.
The C++ STL provides programmers with the following
constructs, grouped into three categories:
* Sequences
o C++ Vectors
o C++ Lists
o C++ Double-Ended Queues
* Container Adapters
o C++ Stacks
o C++ Queues
o C++ Priority Queues
* Associative Containers
o C++ Bitsets
o C++ Maps
o C++ Multimaps
o C++ Sets
o C++ Multisets
The idea behind the C++ STL is that the hard part of using
complex data structures has already been completed. If a
programmer would like to use a stack of integers, all that
she has to do is use this code:
stack<int> myStack;
With minimal effort, she can now push() and pop() integers
onto this stack. Through the magic of C++ Templates, she
could specify any data type, not just integers. The STL
Stack class will provide generic functionality of a stack,
regardless of the data in the stack.
| Is This Answer Correct ? | 16 Yes | 0 No |
Standard Tessellation Language - a polygonal model format
that is used for rapid prototyping
| Is This Answer Correct ? | 1 Yes | 13 No |
What is Template Specialization?
What is the use of stl?
if 4-5 year old brother is standing on d roof with me and watching d moon, suddenly moon coverd by cloud then how will i explain d hiding of moon to my brother.
Is there any error below, its a code to delete all entires from a map #include <map> #include iostream.h int main() { int i =0; map <int, char> TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map<int, char> :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }
What is the name of your birth place?
write a c++ to define a class box with length,breadth and height as data member and input value(),printvalue() and volume() as member functions.
Define stl.
What is a standard template library (stl)?
sir please send me bpcl previous question papers
0 Answers BPCL Bharat Petroleum,
write a c++ program to create an object of a class called employee containing the employee code name designation basic salarry HRA Da gross salary as data 10 such objects "members process "
How stl is different from the c++ standard library?
what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?