Hello,
I have this function to translate a text into a code, but I can't get it to work. Please help me.
I have this function to translate a text into a code, but I can't get it to work. Please help me.
Code:
char normal[25000];
char sc[25000];
int index;
GetDlgItemText(IDC_NORMAL, normal);
while(normal[index] != '\0')
{
switch(normal[index])
{
case 'W':
case 'w': sc[index] = '!';
default: sc[index] = normal[index];
}
}
SetDlgItemText(IDC_SC, sc);
[\code] ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)