for this code:
for(auto x=v.begin(); x!=v.end(); x++)
cout<<*x<<" ";
I get the following error:
error: 'x' does not name a type
for(auto x=v.begin(); x!=v.end(); x++)
for this code:
for(auto x=v.begin(); x!=v.end(); x++)
cout<<*x<<" ";
I get the following error:
error: 'x' does not name a type
for(auto x=v.begin(); x!=v.end(); x++)