約40,100件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1年以内
  • 2026/5/29 -The std::string::replace() function in C++ is used to replace characters or substrings inside a string. It is a member function of the std::string class and ...

    2026/7/9 -To create temporary or static std::string values, you can use string literals or raw string literals with an s suffix. For more information on the basic source ...

    2026/6/24 -C++ Strings ; s.length() s.size(), return number of characters in the string ; s.replace(index, len, str), replace len chars at given index with new text ; s.

    2026/2/20 -What's the problem with "using namespace std;"? 5519 · How do I replace all occurrences of a string? 5416 · How do I make the first letter of a string uppercase ...

    2026/1/3 -Which sadly means spending some quality time replacing string concatenation or uses of .substr() or .c_str() by their std::vector<uint8_t> equivalents.

    2026/1/25 -This check looks for such functions returning std::string constructed from the literals and suggests replacing their return type to std::string_view . It ...

    A.多分replace()の機能を誤解しているのではないでしょうか? デバッガでreplace()ごとにtmpDateTimeの内容を確認すればわかりますが 例えば tmpDateTime.repl...

    2026/8/25 -Strings in C++ tutorial covering std::string creation, input, indexing, editing, search, common errors, output tracing, and fully runnable C++17 examples.

    2026/8/26 -Given a string and two characters c1 and c2, replace every occurrence of c1 with c2 and every occurrence of c2 with c1. There are two approaches to perform ...

    2025/11/24 -Hi, I have following case/code in my main: std::string example; std::string tolowered_string_example = str_tolower(example); // make string lowercase first ...

    6日前 -To replace all matches in a string, call std::regex_replace() with your subject string as the first parameter, the regex object as the second parameter, and the ...