Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~102 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for lolsh

hi i have this question..i solved it but im not sure if its true or not.. template<class t> class c { private: int size; t *p; public: void set(int sv) { if(p!=0) {delete[] p;} p=new t[sv]; for (int i=0;i<sv;i++) cin>>p[i]; } c() { size=0; p=0; } the question is that …

Member Avatar for jonsca
0
102