Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple question about template and class

Status
Not open for further replies.

DotNetGnat

Programmer
Joined
Mar 10, 2005
Messages
5,548
Location
IN
Guys,

I tried something like this:
Code:
template <class Type>
class dblLinkList
{
	public:
		dblLinkList(); 
		~dblLinkList(); 
	private:
		struct Node
		{
			Type info;
			Node<Type> *next;
			Node<Type> *back;
		};
		static bool bAllowDuplicates;
		static stcdata<Type> *first;
		static bool bIsAscending;
};

Is this correct way of doing it...I am getting lot of errors...

thanks

-DNG
 
ok never mind...i figured it out...

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top