发布网友 发布时间:2022-04-24 01:27
共1个回答
热心网友 时间:2023-10-18 11:22
int numCount = 0;
char tempChar;
char *src = buff1;
char *dst = buff2;
while(i<1000)
{
tempChar = src[i];
if(tempChar>='A' && tempChar<='Z')
{
*dst = tempChar;
dst++;
}
i++;
}
热心网友 时间:2023-10-18 11:22
int numCount = 0;
char tempChar;
char *src = buff1;
char *dst = buff2;
while(i<1000)
{
tempChar = src[i];
if(tempChar>='A' && tempChar<='Z')
{
*dst = tempChar;
dst++;
}
i++;
}