|
在GCC中不是已经整合了SGI STL了吗?我用GCC编译如下程序,该程序是孟岩
“在 Borland C++ 及 Visual C++ 環境中使用 STLport”的例子。
//issgistl.cpp
#include <iostream>
#include <rope>
using namespace std;
int main()
{
// crope就是容納char?型字符的rope容器
crope bigstr1("It took me about one hour ");
crope bigstr2("to plug the STLport into Borland C++!");
crope story = bigstr1 + bigstr2;
cout << story << endl;
return 0;
}
错误提示找不到<rope>.
用GCC -I把rope的路径加上后,rope中嵌入的许多头文件又找不到。请高手指点一下。 |
|