Since check_the_result is the name of a function, you need to call the function and do the comparison on the returned value. On its own, the name of the function here is interpreted as a pointer to the function.
if (check_the_result(parameters here as required) == true)
oh okay haha stupid mistake..thanks for pointing that out! I was trying to figure out what was wrong for a while. its compiling and there are no errors now, but why would it compile with no errors when i changed the true to false?