{"author_name":"shikaku","blog_title":"shikaku's blog","provider_url":"https://hatena.blog","height":"190","provider_name":"Hatena Blog","categories":["CPP"],"title":"\u6a19\u6e96\u51fa\u529b\u304b\u3089\u4e00\u884c\u8aad\u307f\u8fbc\u3080","type":"rich","author_url":"https://blog.hatena.ne.jp/shikaku/","image_url":null,"published":"2007-11-12 00:00:00","blog_url":"https://blog.systemjp.net/","version":"1.0","url":"https://blog.systemjp.net/entry/20071112/p1","description":"std::cin \u306b getline() \u3068\u3044\u3046\u95a2\u6570\u304c\u3042\u308b\u306e\u3067\u3053\u308c\u3092\u4f7f\u3046\u3068\u3044\u3044\u306e\u3060\u304c\u3001 \u3053\u308c\u304cstring\u306b\u5bfe\u5fdc\u3057\u3066\u306a\u3044\u3002\u306a\u306e\u3067 \u4ee5\u4e0b\u306e\u3088\u3046\u306b std::getline() \u3092\u3064\u304b\u3046\u3068\u3044\u3044\u305d\u3046\u3060 // string\u578b\u30671\u884c\u5165\u529b string b2; // cin.getline(b2); // \u306a\u3093\u3068\uff0c\u3053\u308c\u304c\u51fa\u6765\u306a\u3044 getline(cin, b2); // \u3053\u308c\u3067\u884c\u3046 \u53c2\u8003 http://sato-si.at.webry.info/200701/article_2.html","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F20071112%2Fp1\" title=\"\u6a19\u6e96\u51fa\u529b\u304b\u3089\u4e00\u884c\u8aad\u307f\u8fbc\u3080 - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}