i have assigned a character array of 10 to hold a password.
then i ask for the user to input a password and then compares the new password with the original to validate its authenticity.
However i cant get strcmp to retun 0 (zero) although the new password is entered exactly like the old one.
The while loop simply outputs *'s to the screen instead of echoing the password entered....i dont know if its the problem...
cout<<"enter your password\n";
int i = 0;
while( ( temp_mem_password[i] = getch() ) != '\r' )
cout << "*";