What is "map" in STL?
Answers were Sorted based on User's Feedback
Answer / saroj das ,balsore
map class support an associative container in which
unique keys are mapped .with values. in essence ,a key is
simply name that you give to a value .once value you can
retrive it by using has been stored.
the most general sense, a map is a list of key /
value pairs .
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / shakti singh khinchi
map is a associative container which is known for a key
value pair. Whereas key always unique and associated with a
non unique value.
maps are sorted on the basis of keys. They are simplified
form of hashing.
Is This Answer Correct ? | 1 Yes | 0 No |
What do you mean by persistent and non persistent objects?
Explain the uses oof nested class?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
What are virtual functions in c++?
What is the difference between structure and class?
How can I learn dev c++ programming?
Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.
What are the advantages of inheritance in c++?
What are the benefits of c++?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
What is an adaptor class or Wrapper class?
what is multi-threading in C++?