CSCI 3110
Algorithms and Data Structures
Syllabus
Calendar
Misc.
Function Templates Exercises
< Previous
Next >
In a group of 2-4 people, answer the following:
Why do we have function templates? What is the
quintessential
function template?
Write a templated function,
getTotal()
that adds every element of an array, and returns the total.
Are there any "gotchas"?
Last Modified: