c++ aggregate 'std::stringstream ss' has incomplete type and cannot be defined

冷不防 2022-06-08 11:38 255阅读 0赞

c++ aggregate ‘std::stringstream ss’ has incomplete type and cannot be defined

这个问题是使用了stringstream这个类,但没有包含头文件ssteam的缘故

增加#include <sstream>即可解决

发表评论

表情:
评论列表 (有 0 条评论,255人围观)

还没有评论,来说两句吧...

相关阅读