In the following code I am trying to create a new templete class (SVector) that is a linked list with the added functionality of an insert method that automatically places items in sorted order.
I am having 2 problems 1) in the statement "class SVector:public list<T>" T is not recognized as per the messages:
svector.c++:21: error: expected template-name before ‘<’ token
svector.c++:21: error: expected...
Search Result
Collapse
3 results in 0.0054 seconds.
Keywords
Members
Tags
-
Factory Method
Hi everyone,
My issue is that my application supports Oracle,SQL Server and Sybase database. The problem is that when i have to execute some database script (lets say 15 table creation queries) but the syntax varies with respect to user backhand DBMS.
They solution strick in my mind is to have an abstract class as parent and inherits "OracleChildCla ss","SQLChildCl ass" and "SysbaseChildCl ass" from the parent... -
Inheritence in forms
Hi everyone,
I am developing a windows based application in VS2005. I want all my form to be inherits from one of my class e.g.ParentClass but indeed the windows forms already inherits windows.forms.f orm class. what I have tried is that, I inherit "windows.forms. form" in "ParentClas s" and all forms inherits my "ParentClas s". But in this case when I view the design of the form IDE gives error. Please guide...