- 145 名前:デフォルトの名無しさん mailto:sage [2007/12/16(日) 13:29:49 ]
- #include <sstream>
#include <string> using namespace std; int main(void){ stringstream ss; string str; ss.str("test1 test2 test3"); // ss >> str; //←この行のコメントを外すと、コンパイルは通るが実行するとセグメンテーションフォルト return 0; } >gcc --version 2.96 バグですか?
|

|