摘要: string.h string.cpp array.h array.cpp main.c 运行截图: 总结:数组库有一个void类型的指针,可以指向很多数组,并控制数组.数组传递的是void类型,根据后面的参数进行转换,并分配内存. 阅读全文
posted @ 2018-01-29 22:02 喵小喵~ 阅读(268) 评论(0) 推荐(0)
摘要: 运行结果: 1 #include 2 #include 3 #include 4 #define datatype int 5 6 struct array 7 { 8 datatype *pstart;//数组首地址 9 datatype length;//长度 10 datatype sortstate;//有序或... 阅读全文
posted @ 2018-01-29 12:01 喵小喵~ 阅读(167) 评论(0) 推荐(0)