undefined reference to 'std::ios_bas::Init::~Init()'
某厂面试归来,发现自己落伍了!>>> 在ubuntu vim下编辑如下代码(代码来自《C++标准程序库》p107): #include < iostream > #include < vector > #include < string > #include < algorithm > #include < iterator > using namespace std; int main() { vector < string > coll; /* read all words from the standard input * - source: all strings until end-of-file (or erro) * - destination: coll(inserting) */ copy (istream_iterator < string > (cin), // start of source istream_iterator < string > (), // end of source back_inserter(coll)); // sort elements sort (coll.begin(), coll.end()); /* print all elements without duplicates * - source: coll * -