In python if I have some iterable can I do something like this:
v = v[n:k] // 
for i in v[3:]:
     "do something"
and now in C++ I want to this:
vector<int> v = {1,2,3,4,5,6,7,8}
v = v[3:5]; 
Or something like this:
for(auto n: v[2:end])
       "do something";
I tried to find the syntax for this problem but haven't found anything yet.
 
     
    