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

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

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

增加#include 即可解决

你可能感兴趣的:(c++)