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

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

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

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

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

    2026/4/29 -std::string_view was introduced in C++17 and its purpose is to provide read-only access to a string-like object. It can often replace const string& parameters ...

    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/3/24 -Boost C++ performance by mastering std::string_view. A guide to efficient string passing, non-owning views, and avoiding heap allocations in modern C++17.

    2026/7/9 -An ordinary string literal is a non-prefixed, double-quote delimited, null-terminated array of type const char[n] , where n is the length of the array in bytes.