std::vector<int> myfunc(int *b) { std::vector<int> a; a.resize(200); for (int i=0;i<200;i++) a[i]=b[i]; return a; }