Loading

摘要: 结构体变量可以作为函数的形参和返回值使用(不要这么做,因为结构体变量中可能包含非常多的东西,在调用过程中很花时间)使用结构体变量作为形参或返回值会浪费时间和空间,所以应该使用结构体指针作为形参和返回值例子: 1 #include <stdio.h> 2 3 typedef struct screen 阅读全文
posted @ 2017-05-04 19:44 Peter·Dong 阅读(107) 评论(0) 推荐(0)