c++: Template function Requirement: Write a template for a function that has parameters for a list of items and a possible item on the list. If the item is on the list, then the function returns the possible item on the list. If the item is not on the list, the function returns -1. Write your own test for this function. File structures and names: - template_list.cpp - makefile: contains compile instructions for make. Grading: - compilable and meaningfull attemps: 20% - functionality: 70% - comment, indentation and file names and makefile: 10%
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here