CCS5.5编译器是否支持vector操作
请问CCS5.5编译器是否支持vector容器操作?
#include<iostream>
#include<vector>
using namespace std;
int main()
{
cout<<"123456"<<endl;
vector<int> book(5);
int n = 0;
for (n = 0; n<5; n++)
{
book.push_back(n);
cout << n << endl;
}
while (1);
}
这段代码在VS上能正常运行出结果,CCS上编译通过但不能运行得出结果。
这么看来是因为CCS不支持vector吗?虽然编译通过,那这样的话能否将程序烧到DSP上成功运行呢?