diff --git a/Vector.cpp b/Vector.cpp new file mode 100644 index 0000000..67c26f8 --- /dev/null +++ b/Vector.cpp @@ -0,0 +1,24 @@ +#include +#include +#include +using namespace std; +int main() +{ + vector v; + int i; + cout<<"Vector_SIZE_original/initial:"<::iterator c= v.begin();//an iterator, moving/iterating over the vector from begining to the end of the vector to show the values stored in it. + while(c!=v.end()) + { + cout<<"value of v="<< *c<