21.06.2009, 10:21
Hmm, Now I noticed that it are 2 spaces zo I changed -1 to -2 and it still works. But why is it so weird?
So what this in fact does is, that it deletes the characters from the length of the string -2 until the end of the string, don't it?
Код:
strdel(passwordtxt,strlen(passwordtxt)-2,strlen(passwordtxt));