Coder's Guild Mailing List

Re: c++

Posted by Artashes Kalantarian on 1999-09-05

For comparing there is two ways.First you can use strcmp(password,password2) 
if it is true it is returning 0.Second is memcpy(password1,password2,10) in my 
example memcpy() ccomare only first 10 strings of password1 and password2.