hi i am new to programming in c ,
and i wanne know how to compare 2 strings
one string should be true keyboard input "gets(a);
and the other string i wanne read from a .txt file with fgets(b,30,f)
if (strcmp(a,b)==0) dont work cause the value of strcmp is 1 ore -1
how to set it to 0 and see if the strings are equal ?
sorry for my bad english .
greetings GMK0000