{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fexh.hatenadiary.org%2Fentry%2F20061207%2F1165495606\" title=\"map, fstream - exh\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>","categories":["C++"],"title":"map, fstream","provider_name":"Hatena Blog","blog_title":"exh\u306e\u65e5\u8a18","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/exh/","published":"2006-12-07 21:46:46","description":"C++\u3061\u3073\u3061\u3073\u52c9\u5f37\u4e2d\u3002 banana yellow apple red grape purple\u307f\u305f\u3044\u306a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001\u9023\u60f3\u914d\u5217\u3092\u3064\u304f\u308b\u3002 #include <fstream> #include <map> ifstream ifs( \"config.txt\" ); if( !ifs.is_open() ) { cout << \"file open error!! (config.txt)\" << endl; exit(1); } string key, value; map<string, string> fruits; while( !ifs.eof() ) { ifs >> k\u2026","height":"190","blog_url":"https://exh.hatenadiary.org/","width":"100%","image_url":null,"version":"1.0","type":"rich","author_name":"exh","url":"https://exh.hatenadiary.org/entry/20061207/1165495606"}