摘要:
#include#includeusing namespace std;struct Student{ int id; float gpa;};templateclass Store{private: T item; int haveValue;public: Store(void); T ge... 阅读全文
posted @ 2014-08-18 20:52
_noname
阅读(97)
评论(0)
推荐(0)
摘要:
#includeusing namespace std;templatevoid outputArray(const T *P_array, const int count){ for (int i = 0; i < count; i++) cout << P_array[i] << " ";... 阅读全文
posted @ 2014-08-18 20:12
_noname
阅读(132)
评论(0)
推荐(0)
摘要:
#include#includeusing namespace std;class Point{public:Point(int xx=0,int yy=0){X=xx;Y=yy;}Point(Point &p);int getX(){return X;}int getY(){return Y;... 阅读全文
posted @ 2014-08-18 19:53
_noname
阅读(132)
评论(0)
推荐(0)