The first part of my program i creating 2 different arrays, the login id and password. After that has all been entered I would like the program to have 5 different IF statements that checks the 2 arrays to see if the ID and Password combinations are correct.
I am currently trying it like this for the first one with no success
if((strcmp(password, "dsfsdf") == 0) && (strcmp(id,"fsdfg")==0))
{
access = 1;
break;
}
Aucun commentaire:
Enregistrer un commentaire