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
Ranked #107.71K
1 Posted Topic
#include < iostream.h> // class template template < class T > class mypair { private : T a,b; public: mypair(T first,T second){a= first; b=second;} T getmin(); }; template < class T > T mypair::getmin(){ T retval; retval=a<b?a:b; return retval;} void main(){ mypair <int>myobject(100,75); cout<<myobject.getmin()<<endl;} i don't now why i have …
The End.
huda_7978