Setting up a LinkedList using templates

Started by
10 comments, last by PumpkinPieman 20 years, 6 months ago
template<class T>*T CLinkedList<T>::FindID(int m_pfindID){	m_Current = m_Head;	while(m_Current->next != NULL)	{		           if(m_Current->ID == m_pfindID)	           return *m_Current->m_Object;	           m_Current = m_Current->next;        }	return(NULL);}
Advertisement
Awsome, that works. Thanks logic monkey.

This topic is closed to new replies.

Advertisement