#include "Head.c"
void main()
{
char *ptr1[4];
char str[4][20];
char temp[20]; //定义指针数组,二维字符数组,用于交换的一维字符数组
int i;
int j ;
for( i = 0; i 0 )
{
strcpy(temp,ptr1[j]);
strcpy(ptr1[j],ptr1[j+1]);
strcpy(ptr1[j+1],temp);
}//进行大小比較。
}//End for;
}//End for
for(阅读全文>
发表于 @ 2008年02月28日 22:53:00|评论(loading...)|编辑|收藏