Hi,
i got a vector<int> of values 12,49,51,98
i wanted to search for value 12 and replace it with another value like 42.
is there any vector function to search and replace straight away?
rather than manually looping and checking and then replacing.