vector display « Vector « C++






1.Use for_each function to print all elements in a vector
2.Use std::copy to output the elements in a vector