cpp:std_strings
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cpp:std_strings [2023/04/25 14:41] – [Διάτρεξη] gthanos | cpp:std_strings [2023/04/25 14:46] (current) – [Σύγκριση, αναζήτηση, εξαγωγή υπο-αλφαριθμητικών] gthanos | ||
---|---|---|---|
Line 91: | Line 91: | ||
=== Παράδειγμα χρήσης iterator === | === Παράδειγμα χρήσης iterator === | ||
- | <code cpp> | + | < |
#include < | #include < | ||
#include < | #include < | ||
Line 106: | Line 106: | ||
=== Παράδειγμα χρήσης reverse_iterator === | === Παράδειγμα χρήσης reverse_iterator === | ||
- | <code cpp string_fw_iterator.cpp > | + | <code cpp string_rv_iterator.cpp> |
#include < | #include < | ||
#include < | #include < | ||
Line 205: | Line 205: | ||
size_t find (char c, size_t pos = 0) const; | size_t find (char c, size_t pos = 0) const; | ||
</ | </ | ||
- | | < | + | | <code cpp> |
size_t rfind (const char* str, size_t pos = npos) const; | size_t rfind (const char* str, size_t pos = npos) const; | ||
size_t rfind (const char* str, size_t pos, size_t n) const; | size_t rfind (const char* str, size_t pos, size_t n) const; |
cpp/std_strings.txt · Last modified: 2023/04/25 14:46 by gthanos