約3,030件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:3か月以内
  • 2026/11/10 -Definition and Usage. The replace() function replaces a part of a string with new text. You choose the part with a start position and a length.

    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 ...

    2026/10/3 -文字列の一部を置換する。 テンプレートパラメータ制約. (12), (13), (14) : 以下の両方を満たしていること.

    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.

    2日前 -C++ supports both C-style strings and the std::string class from ... The replace() function replaces the part of the string with the given other string.

    2026/9/28 -Split the input string into 2 strings: a string of characters BEFORE the first vowel, and a string of characters AFTER (and including) the first vowel. · Append ...

    A.#includeの次あたりに#pragma comment(lib,"libcpmtd.lib")って入れときなよ 多分これで動くと思う 動かんかったら、もうこれ以上分からん

    A.char型は1文字しか格納できません。 print -> A reverse -> B replace -> C また、"は'にしてください。 switch (...

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

    2026/9/4 -The substr() function is a member of the std::string class that allows you to extract a substring from a given string, and also specifies the starting position ...

    2026/9/11 -To split a string in C++, put it in a std::stringstream and read pieces out with std::getline(ss, token, delimiter) . C++ has no built-in split() like Python, ...

    2026/9/22 -std::getline(std::cin, text) is a free function that reads into a std::string , which grows to fit any line. std::cin.getline(buffer, size) is a member function ...