variable 'std::istringstream line_stream' has initializer but incomplete type istringstream line_stream(line);

istringstream报错,错误如下 :variable 'std::istringstream line_stream' has initializer but incomplete type   istringstream line_stream(line);

解决方法:包含sstream头文件

#include <sstream>

  

posted @ 2022-03-13 15:05  菠萝超级酸  阅读(1192)  评论(0编辑  收藏  举报