What is wrong with this:
I want to be able to create a template function using the list container, so i can print lists of ints, doubles, strings, etc....Code:template<class T> void printList(const List<T> &list) { ... }
thanks
What is wrong with this:
I want to be able to create a template function using the list container, so i can print lists of ints, doubles, strings, etc....Code:template<class T> void printList(const List<T> &list) { ... }
thanks
'During my service in the United States Congress, I took the initiative in creating the Internet.' - Al Gore, March 9, 1999: On CNN's Late Edition