class templates and parameter passing to constructors in c++

hk vedamurthy's Avatar, Join Date: Nov 2007
Newbie Member
what wrong in this statement
cosequential is a base class in cosequential.h
strclass is a class in strclass.h
strlist inherits cosequential class and inludes strclass
in this class i want to send parameter to the base classs i.e cosequential class constructor
the statement is like this
stlist::strlist(int i,int j):coseqential<String&>(i)
{
}
cosequential uses the class template
i am getting error at this point.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You have submitted the post as an Article and I have moved to the forum for discussion. Also can you share the error you are getting.