Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to create a c++ templeate

template <class myType>
myType GetMax (myType a, myType b) {
 return (a>b?a:b);
}
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #create #templeate
ADD COMMENT
Topic
Name
3+2 =