int* start =&v[0]; int* end =&v[v.size()-1]; for(; start <= end; start++){ cout <<*start << endl; } system("pause"); return EXIT_SUCCESS;