不允许不完整类型:stringstream [英] Incomplete type is not allowed: stringstream
本文介绍了不允许不完整类型:stringstream的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为什么这行给出错误错误:不允许不完整类型
Why does this line give the error Error: incomplete type is not allowed
?
stringstream ss;
推荐答案
#include< sstream> ;
并使用完全限定名称 std :: stringstream ss;
#include <sstream>
and use the fully qualified name i.e. std::stringstream ss;
这篇关于不允许不完整类型:stringstream的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文