问题描述:
解释一下这几行程序的意思
void getkeymatrix(char (*p)[5],char *srckey)
{
int i = 0,j = 0;
char *q = srckey;
char temp[26];
memset(temp,0,26);
strupr(srckey);
while(*q = '\0')
{
if( isalpha(*q) = 0 && *q = 'Q')
{
if(strchr(temp,*q) == NULL)
{
temp[i++] = *q;
}
}
q++;
}
for(j = 'A'; j
void getkeymatrix(char (*p)[5],char *srckey)
{
int i = 0,j = 0;
char *q = srckey;
char temp[26];
memset(temp,0,26);
strupr(srckey);
while(*q = '\0')
{
if( isalpha(*q) = 0 && *q = 'Q')
{
if(strchr(temp,*q) == NULL)
{
temp[i++] = *q;
}
}
q++;
}
for(j = 'A'; j
问题解答:
我来补答展开全文阅读