This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
|
cpp:stl:map [2020/05/31 08:23] gthanos |
cpp:stl:map [2020/05/31 08:30] gthanos [H συνάρτηση operator[]] |
||
|---|---|---|---|
| Line 100: | Line 100: | ||
| ==== H συνάρτηση operator[] ==== | ==== H συνάρτηση operator[] ==== | ||
| - | Η συνάρτηση [[http:// | + | Η συνάρτηση [[http:// |
| === Παράδειγμα 1ο - Ανάγνωση με χρήση του operator [] === | === Παράδειγμα 1ο - Ανάγνωση με χρήση του operator [] === | ||
| Line 124: | Line 124: | ||
| std::string address_mm = students[ Student(" | std::string address_mm = students[ Student(" | ||
| | | ||
| - | std::cout << "Peter Pan aem: " << | + | std::cout << "Peter Pan address: " << |
| - | std::cout << "Minie Mouse aem: " << | + | std::cout << "Minie Mouse address: " << |
| } | } | ||
| </ | </ | ||