摘要: #include #include #include //打印 排序 //封装成函数 void main() { int i = 0, j = 0; int num = 4; char tmpBuf[30]; char myArray[10][30] = {"aaaaaa", "ccccc", "bbbbbbb", "111111111111... 阅读全文
posted @ 2015-11-13 18:08 那时天空蓝 阅读(211) 评论(0) 推荐(0) 编辑
摘要: #include #include #include void main21() { int i = 0, j = 0; int num = 0; char *tmp = NULL; //数组 数组中的每一个元素是指针 指针数组 char *myArray[] = {"aaaaaa", "ccccc", "bb... 阅读全文
posted @ 2015-11-13 16:30 那时天空蓝 阅读(171) 评论(0) 推荐(0) 编辑
摘要: #include #include #include //指针做输出:被调用函数分配内存 -----OK//指针做输入:主调用函数 分配内存//求文件中的两段话的长度int getMem(char **myp1, int *mylen1, char **myp2, int *mylen2){ ... 阅读全文
posted @ 2015-11-13 15:41 那时天空蓝 阅读(146) 评论(0) 推荐(0) 编辑