I am not able to compare two strings. Please help. The password part.
My aim is i give a default password say, 12345678; i then ask the user to enter the password. I want to compare both of them. I user id and password match return 0 else return -1. But here, i am getting negative value on string comparison even though default password and entered password are same. PLEASE HELP