{"published":"2012-01-27 00:00:00","type":"rich","version":"1.0","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/yohhoy/","url":"https://yohhoy.hatenadiary.jp/entry/20120127/p1","blog_url":"https://yohhoy.hatenadiary.jp/","width":"100%","image_url":null,"provider_name":"Hatena Blog","height":"190","description":"C++\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306eI/O\u30b9\u30c8\u30ea\u30fc\u30e0\u304c\u63d0\u4f9b\u3059\u308bstd::cout\u306b\u5bfe\u3057\u3066\u3001\u8907\u6570\u30b9\u30ec\u30c3\u30c9\u304b\u3089\u540c\u6642\u306b\u51fa\u529b\u3057\u305f\u3068\u304d\u306e\u632f\u308b\u821e\u3044\u306b\u3064\u3044\u3066\u30e1\u30e2\u3002\uff08C++03\u4ee5\u524d\u306b\u3064\u3044\u3066\u306f\u3001\u51e6\u7406\u7cfb\u4f9d\u5b58\u304c\u81ea\u660e\u306e\u305f\u3081\u5bfe\u8c61\u3068\u3057\u306a\u3044\u3002\uff09C++11\u6a19\u6e96\u898f\u683c\u306b\u3088\u308c\u3070\u3001\u4e0b\u8a18\u304c\u4fdd\u8a3c\u3055\u308c\u308b\u3002 \u65e2\u5b9a\u306e\u72b6\u614b \u307e\u305f\u306fstd::sync_with_stdio(true);\u3092\u547c\u3073\u51fa\u3057\u305f\u306e\u3061\u3001 cout\u306b\u5bfe\u3059\u308b\u51fa\u529b\u64cd\u4f5c*1\u3092\u3001\u8907\u6570\u30b9\u30ec\u30c3\u30c9\u304b\u3089\u4e26\u884c\u306b\u884c\u3063\u3066\u3082\u30c7\u30fc\u30bf\u7af6\u5408(data race)\u3092\u5f15\u304d\u8d77\u3053\u3055\u306a\u3044\u3002 #include <iostream> #include <future> void dump(const char* s, int v) { s\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20120127%2Fp1\" title=\"C++11\u306ecout\u3068\u30b9\u30ec\u30c3\u30c9\u5b89\u5168\u6027 - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"C++11\u306ecout\u3068\u30b9\u30ec\u30c3\u30c9\u5b89\u5168\u6027","author_name":"yohhoy","categories":["C++"],"blog_title":"yohhoy\u306e\u65e5\u8a18"}