10/09/20 22:04:00
>>129
string path = "C:\\test.ini"
istream stream( path );
property_tree::ptree tree;
read_ini( stream, tree );
これはいけるけど、
string test = "[test]\ntest=100"
istringstream stream( test );
property_tree::ptree tree;
read_ini( stream, tree );
これはエラーが出る。何か間違ってるかな