I cannot terminate the encryption if it is less than 12 chars.
Please help. It reads the enter key which I know is equal to '\n' (maybe).
Example Output:Code:typedef char strWord[13]; main() { char cDump; strWord pWord; int i; printf("Enter Password: "); i=1; pWord[0]=getch();printf("*"); while(pWord[i]!='\n'&&i<12) {pWord[i]=getch();i++;printf("*");} }
Enter Password: ******