{"type":"rich","categories":[],"height":"190","published":"2023-12-12 13:26:20","author_url":"https://blog.hatena.ne.jp/shikaku/","width":"100%","blog_title":"shikaku's blog","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","url":"https://blog.systemjp.net/entry/2023/12/12/132620","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2023%2F12%2F12%2F132620\" title=\"C++\u3067CSV\u304cutf8\u3067\u3082shiftjis\u3067\u3082shiftjis\u306e\u30c7\u30fc\u30bf\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3081\u308b\u30af\u30e9\u30b9 - 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>","description":"#include <iostream> #include <fstream> #include <vector> #include <string> #include <locale> #include <codecvt> class CSVReader { public: CSVReader(const std::string& filename) : filename_(filename) {} bool ReadCSV(std::vector<std::vector<std::string>>& data) { std::ifstream file(filename_); if (!fi\u2026","blog_url":"https://blog.systemjp.net/","title":"C++\u3067CSV\u304cutf8\u3067\u3082shiftjis\u3067\u3082shiftjis\u306e\u30c7\u30fc\u30bf\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3081\u308b\u30af\u30e9\u30b9","version":"1.0","author_name":"shikaku"}