Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
::toupper入力と同じ文字列に対して変換を実行できますか?
::toupper
すなわち:
std::transform(s.begin(), s.end(), s.begin(), ::toupper);
または、別のターゲットが必要ですか?
はい。それは合法であり、完全に慣用的です。これは非常に一般的な方法です。