Is there an easy way to determine if a value is at all present in an array? In python you can type:
if value in list:
do this
But how could i do that in c++? I would like something like this:
if(value "is present in" array1)
{
do this;
}
Thanks everyone!