beaute 17 Newbie Poster

Your problem is that you're not using strcmp correctly. Refer to C++ Reference strcmp.

Correct if-statement is:

if(strcmp(maxy,"yes")==0){
do something;
}
else{
do something else;
}

Also, please use [CODE] tags next time.

Ancient Dragon commented: code tags comment :) +17