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 |
Write a program to print the swapping in two no and using three variable.
what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?
what is use of for loop?
Can we use stl in coding interviews?
how to get the sum of two integers?
How is stl different from c++ standard library?
In what cases using of a 'template' is a better approach then using of a 'base class'?
6 Answers Lucent, Mind Tree, Wipro,
write a program that input four digit no and finds it is palindrome or not
WHAT IS THE DIFFERENCE BETWEEN C++ AND VC++
What are the various types of stl containers?
what is a template?
2 Answers Amazon, BITS, IBS, Wipro,
Name the different types of stl containers.