相关疑难解决方法(0)

如何在My iPhone App中使用C++ STL容器?

我想在我的iPhone应用程序中使用STL集(在XCode中用Objective-C编写).如何包含set和/或使用标准命名空间?

在C++中我会这样做:

#include<set>
using namespace std;

// use the set<T> somewhere down here...
Run Code Online (Sandbox Code Playgroud)

我怎么能在Objective-C中做到这一点?

c++ objective-c standard-library

8
推荐指数
1
解决办法
7146
查看次数

标签 统计

c++ ×1

objective-c ×1

standard-library ×1