You are viewing a single comment's thread. Return to all comments →
template <typename T> void printArray(const vector<T>& vec) { for (const T& element : vec) { cout << element << endl; } }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 21: Generics
You are viewing a single comment's thread. Return to all comments →