cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
How would I write this??
How would I write this??
Apr 12, 2009 at 9:38pm UTC
Dude1234
(17)
Write a template for a function that will return the larger of two data types. Give the definition of the template only (no prototype necessary).
Apr 12, 2009 at 10:18pm UTC
Bazzy
(6281)
a function that will return the larger of two data types
does that mean:
-return the data with the larger size
-return the largest value from two values of a given type
-return the largest value from two values of different types
-something else
?
Topic archived. No new replies allowed.