2
gr81ape
9y

String char replacement in C++ (according to SO):

Boost - replace_all(str1, str2);
C++ STL - 12 lines of code to iterate over the length of the string and store the result in a <char> vector.

Noooooooope. Thank God for Boost.

Comments
  • 0
    Is'nt boost big like an operating system or such?
Add Comment