Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ use template on the fucntions create a vector of ints to showcase the functions. Functions and Pointers: Create two regular c- type functions (w/separation)
C++
Functions and Pointers: Create two regular c- type functions (w/separation) that we can use over and over again throughout this course. Both functions will only have ONE input parameter... the actual VECTOR. 1. One function simply displays the values stored in each element of the vector. 2. The other function will display the value AND the address of each of the elements in the vector casted out to integers. Turn in a small driver main function to demonstrate that the functions work. No user interface use template on the fucntions
create a vector of ints to showcase the functions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started