摘要:
学过c++的朋友一定对下面的代码很熟悉吧:1#include<iostream>2usingnamespacestd;3template<classT>classarray4{5public:6array(intsize)7{8a=newt[size];9}10//moreinterface.11private:12T*a;13}园子里的很多朋友都是从c++的templat... 阅读全文
posted @ 2007-03-20 14:48
yanzimywife
阅读(1756)
评论(4)
推荐(1)