what is an algorithm in terms of STL?

Answer Posted / bayo

In STL algorithms provide a set of functions to modify,
interpret and analyze the data in container objects.
Iterators provide the connection between the
containers and the algorithms. The generic algorithms take
iterators as arguments to access data in container
objects. Since they work on iterators, they have
independence from the container type.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to use C++?

2266


Why should a c++ programmer be interested in stl?

851


Define stl.

1037


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

2141


a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.

1621


What does stl stand for in basketball?

848


How stl is different from the c++ standard library?

863


How do you convert stl to steps?

855


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

2372


Is there any error below, its a code to delete all entires from a map #include #include iostream.h int main() { int i =0; map TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }

2140


What does stl mean in slang?

851


Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.

1882


What is a standard template library (stl)? What are the various types of stl containers?

925


Who wrote stl?

892


What is stl in c++ with example?

855