![]() |
#2
rjsp2014-10-13 08:24
|
如例子void List<T>::Create(T a[], int n)
singleList.Create(a,10)
这个a的类型应该怎样定义才能通过运行?
(1)singleList.Create(int a,10)
(2)singleList.Create<int>(a,10)
以上两种情况有错。