I've got this piece of code and it doesn't appear to be passing properly
heres the constructor:
password:assword (char input[14])
{
pass[14] = input[14];
}
and the line calling it + input:
cin.getline(x,15);
password check(x);
when the contents of pass are viewed all that appears is garble. There is no comppile error or warnings. Any ideas? thanks in advance. Warren Brown
wazzer@btinternet.com
heres the constructor:
password:assword (char input[14])
{
pass[14] = input[14];
}
and the line calling it + input:
cin.getline(x,15);
password check(x);
when the contents of pass are viewed all that appears is garble. There is no comppile error or warnings. Any ideas? thanks in advance. Warren Brown
wazzer@btinternet.com