2009-06-05から1日間の記事一覧
#include <locale> #include <iostream> #include <string> #include <functional> #include <algorithm> int main() { std::locale loc("ja_JP.UTF-8"); const std::ctype<char>& cty = std::use_facet<std::ctype<char> >(loc); std::string str = "HELLO WORLD."; std::cout << str << std::endl; std::transform(str.be…</std::ctype<char></char></algorithm></functional></string></iostream></locale>