Rozwiązane

Jakie znasz funkcje lub metody powalające na przeprowadzenie operacji na napisach?



Odpowiedź :

Odpowiedź:

Z biblioteki <string>:

  •    stod
  •    stof
  •    stoi
  •    stol
  •    stold
  •    stoll
  •    stoul
  •    stoull
  •    to_string
  •    to_wstring

  • append
  • assign
  • at
  • back
  • begin
  • capacity
  • cbegin
  • cend
  • clear
  • compare
  • copy
  • crbegin
  • crend
  • c_str
  • data
  • empty
  • end
  • erase
  • find
  • find_first_not_of
  • find_first_of
  • find_last_not_of
  • find_last_of
  • front
  • get_allocator
  • insert
  • length
  • max_size
  • pop_back
  • push_back
  • rbegin
  • rend
  • replace
  • reserve
  • resize
  • rfind
  • shrink_to_fit
  • size
  • substr
  • swap

Wyjaśnienie

Sporo tego...

Właściwie należałoby jeszcze dodać operatory

  • +=
  • =
  • []