{"categories":["C++"],"blog_url":"https://bg1.hatenablog.com/","version":"1.0","author_name":"BG1","published":"2019-06-23 21:00:00","width":"100%","url":"https://bg1.hatenablog.com/entry/2019/06/23/210000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2019%2F06%2F23%2F210000\" title=\"basic_istream::getline - \u8eca\u8f2a\u306ex\u767a\u660e ~B.G&#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>","author_url":"https://blog.hatena.ne.jp/BG1/","title":"basic_istream::getline","provider_url":"https://hatena.blog","blog_title":"\u8eca\u8f2a\u306ex\u767a\u660e ~B.G's Blog~","type":"rich","description":"basic_istream::getline\u306f\u30011\u884c\u3054\u3068\u306b\u6307\u5b9a\u306e\u30d0\u30c3\u30d5\u30a1\u306b\u8aad\u307f\u8fbc\u3080\u3002basic_istream::getline - cpprefjp C++\u65e5\u672c\u8a9e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3088\u304f\u898b\u308b\u3068\u3001char\u578b\u306a\u3069\u306e\u6587\u5b57\u914d\u5217\u306e\u30d0\u30c3\u30d5\u30a1\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u308b\u304c\u3001string\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u306a\u3044\u6a21\u69d8\u3002 \u3068\u306a\u308b\u3068\u3001\u30d0\u30c3\u30d5\u30a1\u3092\u8d85\u3048\u305f\u6642\u3069\u3046\u306a\u308b\u304b\u3002fin.getline\u306e\u623b\u308a\u5024\u306ffin\u306e\u53c2\u7167\u306a\u306e\u3067\u3001fin\u304ctrue\u306e\u6642\u306f\u8aad\u307f\u8fbc\u3081\u305f\u3068\u3044\u3046\u3053\u3068\u3002 \u30d0\u30c3\u30d5\u30a1\u30b5\u30a4\u30ba\u30926\u306b\u3057\u305f\u306e\u3067\u30015\u6587\u5b57\u307e\u3067\u306f\u5165\u308b\u304c\u30016\u6587\u5b57\u3060\u3068\u3069\u3046\u306a\u308b\u304b\u3002 $ ls basic_istream basic_istream.cpp test.txt $ vi\u2026","provider_name":"Hatena Blog","height":"190","image_url":null}