各位大侠,一定要看看这是怎么错的
我用的是VS2005版的编译器,但是在编译过程中出现错误,提示:error C2064: term does not evaluate to a function taking 1 arguments
函数
void firstclass::build_map(){
istringstream stringstream ;
for(line_no num = 0 ; num != line_of_text.size() ; ++num)
{
stringstream( line_of_text[num] );
string word ;
while(stringstream>>word)
word_map[word].insert(num) ;
}
}