2009-06-04から1日間の記事一覧
#include <locale> #include <iostream> #include <string> 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; for (std::string::iterator itor = str.begin(); itor </std::ctype<char></char></string></iostream></locale>…