cpp:stl:container_common_functions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
cpp:stl:container_common_functions [2022/05/26 18:58] – [Εισαγωγή στοιχείου] gthanos | cpp:stl:container_common_functions [2022/06/01 03:35] – [Ανάθεση των περιεχομένων ενός container από τα περιεχόμενα ενός άλλου container] gthanos | ||
---|---|---|---|
Line 308: | Line 308: | ||
vector< | vector< | ||
array< | array< | ||
- | |||
- | v.assign(a.begin()+1, | ||
| | ||
+ | | ||
+ | /* Assigns 20, 30, 40, 50 | ||
+ | | ||
+ | v.assign(a.begin()+1, | ||
+ | // | ||
+ | // | ||
print(v); | print(v); | ||
} | } |
cpp/stl/container_common_functions.txt · Last modified: 2023/05/30 19:18 by gthanos