Displaying contents of a vector container in C++
There is an idiomatic way for printing a vector out. This way is safe and doesn’t require you to keep track of the vectors size or anything like that. It is also easily recognisable to other C++ developers. This method works on other container types too that do not allow random access. This works both … Read more