How to read from vector the right way ?
To access an element in a vector using its index, we have two possible options
a. Subscript operator []
std::cout<< myvector[3] ;
b. at method from std::vector class
std::cout<<myvector.at(3);
Though both look identical i.e. to accomplish th...
cppnuggets.hashnode.dev1 min read