What is the STL?

Answers were Sorted based on User's Feedback



What is the STL?..

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

What is the STL?..

Answer / sudeep p v

Standard Tessellation Language - a polygonal model format
that is used for rapid prototyping

Is This Answer Correct ?    1 Yes 13 No

Post New Answer

More STL Interview Questions

Write a program to print the swapping in two no and using three variable.

5 Answers   Broadridge,


what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?

2 Answers  


what is use of for loop?

9 Answers   Wipro,


Can we use stl in coding interviews?

0 Answers  


how to get the sum of two integers?

2 Answers  






How is stl different from c++ standard library?

0 Answers  


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

2 Answers  


WHAT IS THE DIFFERENCE BETWEEN C++ AND VC++

1 Answers   Syntel,


What are the various types of stl containers?

0 Answers  


what is a template?

2 Answers   Amazon, BITS, IBS, Wipro,


Name the different types of stl containers.

0 Answers  


Categories