摘要: void strsort(a[11][256]){ //表示装255个字符的字符串有11个 char *temp; ~~temp=a[i]; (*a[i])=a[j][0]; *a[j]=temp;~~ //仅地址交换,这里不会写了 } 字符指针写法很迷……它不同于其他类型指针 测试一下: void 阅读全文
posted @ 2021-12-22 18:34 Nolca 阅读(134) 评论(0) 推荐(0) 编辑