templated linked list

Started by
13 comments, last by iMalc 18 years, 8 months ago
yea, i guess ur right. thanks, i'll let my team know we're going STL :)
-------------------------Unless specified otherwise, my questions pertain:Windows Platform (with the mindset to keep things multi-platform as possible)C++Visual Studio 2008OpenGL with SFML
Advertisement
ok, what's wrong with:

template <class Type>class tMapList{private:	map <char*, Type>			m_MapList;	map <char*, Type>::iterator	m_Iter;};


i keep getting a error saying:
error C2143: syntax error : missing ';' before '<'
and it points to the line at
map <char*, Type> m_MapList;
-------------------------Unless specified otherwise, my questions pertain:Windows Platform (with the mindset to keep things multi-platform as possible)C++Visual Studio 2008OpenGL with SFML
nv/md, figured it out. i wasn't using std
-------------------------Unless specified otherwise, my questions pertain:Windows Platform (with the mindset to keep things multi-platform as possible)C++Visual Studio 2008OpenGL with SFML
Remember:

"using namespace std;"

or type std::map instead of just map.

-- Per
#include <map> ???
"In order to understand recursion, you must first understand recursion."
My website dedicated to sorting algorithms

This topic is closed to new replies.

Advertisement