So I'm trying to check my functions return value in an if statement so that i can check wheter it's working fine or not.
I have:
if (int r = (input(num_first, num_second, fixPTR)) =! -1)
{
// do smth
}
but Visual Studio says : expression must be a modifiable lvalue
how do i fix it??