Answers for "max number in vector in c++"

C++
-1

c++ max and min of vector

template <typename T, size_t N> const T* mybegin(const T (&a)[N]) { return a; }    
template <typename T, size_t N> const T* myend  (const T (&a)[N]) { return a+N; }
Posted by: Guest on July-20-2020

Browse Popular Code Answers by Language