清空std::stringstream

#include <iostream>
#include <sstream>

 

 

stream.clear();   

stream.str("");

 

posted @ 2013-05-09 15:19  酷熊  阅读(307)  评论(0编辑  收藏  举报