cpp:stl:containers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cpp:stl:containers [2020/05/29 08:40] – [Προσδιορισμός εύρους στοιχείων] gthanos | cpp:stl:containers [2020/05/29 15:47] – [Standard Template Library (STL)] gthanos | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Standard Template Library (STL) ====== | ||
- | |||
- | H //Standard Template Libray (STL)// είναι βιβλιοθήκη της C++ που αποτελεί αναπόσπαστο τμήμα της // | ||
- | |||
- | Βασικό χαρακτηριστικό της //STL// είναι ότι οι κλάσεις (// | ||
===== STL Containers ===== | ===== STL Containers ===== | ||
Line 112: | Line 107: | ||
<code cpp int_copy.cpp> | <code cpp int_copy.cpp> | ||
#include < | #include < | ||
- | #include < | ||
#include < | #include < | ||
#include < | #include < | ||
- | #include " | ||
#define SIZE 10 | #define SIZE 10 | ||
Line 135: | Line 128: | ||
for (std:: | for (std:: | ||
std::cerr << ' ' << *it; | std::cerr << ' ' << *it; | ||
- | std::cerr << std::endl; | + | std::cerr << std:: |
| | ||
return 0; | return 0; |
cpp/stl/containers.txt · Last modified: 2022/05/26 16:49 by gthanos