I am new to vectors and links and I am having trouble with using the find and find_if functions. I want to search my list and see if var1 already exists in the list. My psedocode is below. Any help or tutorials your can provide will be very useful. Thanks.
if(var1 not in list)
add to list