程序代写代做 PART ONE Write a function named isInVector that takes a vector/array of ints (and its size, if appropriate) and an int to search for and returns whether or not that searched-for int is in the passed in vector/array.

PART ONE Write a function named isInVector that takes a vector/array of ints (and its size, if appropriate) and an int to search for and returns whether or not that searched-for int is in the passed in vector/array.
PART TWO Write a function named makeUnique that will take a vector/array of ints (and its size, if appropriate), which may contain duplicate entries, and fills a second vector (which is also passed in as an empty vector) with the ints from the first vector removing all duplicates.
Example:Vector on left was passed in; vector on right was filled using the data from the vector on the left. Note that there are no duplicates in the filled vector.
347 34
28 72 279 8951
15
PART THREE Write a function named fillVectFromFile that fills a vector/array of ints with the
data from a user chosen input file. You should ask the user for a file name and should not continue if the file does not open properly.
PART FOUR Using the functions you write and the two we gave you, solve this problem:
Get a set of ints stored in a file named by a user and write them, eliminating duplicates, into a file
named uniq.ints.
Your main function should only create variables and call functions to solve the problem. There must be NO INPUT and NO OUTPUT in main.