{"title":"C++ Windows\u74b0\u5883\u306eMSVC\u3067\u6a19\u6e96\u51fa\u529b\u306b\u65e5\u672c\u8a9e\u3068ASCII\u4ee5\u5916\u306e\u6587\u5b57\u3092\u51fa\u529b\u3059\u308b","version":"1.0","height":"190","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","blog_url":"https://potisan-programming-memo.hatenablog.jp/","image_url":null,"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2021%2F03%2F09%2F004655\" title=\"C++ Windows\u74b0\u5883\u306eMSVC\u3067\u6a19\u6e96\u51fa\u529b\u306b\u65e5\u672c\u8a9e\u3068ASCII\u4ee5\u5916\u306e\u6587\u5b57\u3092\u51fa\u529b\u3059\u308b - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"potisan","description":"Windows\u74b0\u5883\u3067\u6a19\u6e96\u51fa\u529b\u306b\uff08std::wcout\u304c\u8a8d\u8b58\u3059\u308b\uff09\u65e5\u672c\u8a9e\u3068ASCII\u4ee5\u5916\u306e\u6587\u5b57\u3092\u51fa\u529b\u3059\u308b\u306b\u306f_setmode(_fileno(stdout), _O_U16TEXT);\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002\u3053\u306e\u547c\u3073\u51fa\u3057\u306e\u5f8c\u3001\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u30e6\u30cb\u30b3\u30fc\u30c9\u30e2\u30fc\u30c9\u306b\u306a\u308b\u305d\u3046\u3067\u3059\u3002 #include <iostream> #include <io.h> #include <fcntl.h> int wmain() { // stdout\u3068wcout\u7b49\u306e\u540c\u671f\u89e3\u9664\u306f\u4efb\u610f // ios_base::sync_with_stdio(false); _setmode(_fileno(stdout), _O_U16TEXT\u2026","author_url":"https://blog.hatena.ne.jp/potisan/","width":"100%","provider_url":"https://hatena.blog","published":"2021-03-09 00:46:55","type":"rich","categories":["C++","Windows"],"url":"https://potisan-programming-memo.hatenablog.jp/entry/2021/03/09/004655"}