c++Define a function GetValues() that takes one input string parameter, one character parameter, and one output vector parameter passed by reference. The function should not return any value. The function finds the characters in the input string that are not equal to the character parameter, and stores each such character in the output vector in the same order as the input string. Ex: If the input is xbtq t, then the output is: x b q#include#includeusing namespace std; /* Your code goes here */ int main() { string inputString;int i; char x; vector results;cin >> inputString;cin >> x;GetValues (inputString, x, results);for (i = 0; i < results.size(); ++i) {cout << results.at(i) << endl;} return 0;}