A map is like an associative array where each element is made of a pair. A pair contain a key and a value. Key serves as an index. The entries in a map are automatically sorted based on keys when data is entered. Map container provides the following function: Following program demonstrates working with a map: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
The post what are Map functions in Standard Template library appeared first on Coding Security.
what are Map functions in Standard Template library
read more
Tidak ada komentar:
Posting Komentar