摘要: 遇到地方卡住了才发现,只有指向数组的指针才能用索引。 int a[128]; int *b = a; ......... b[12] = 12; 其他的以后再写吧,毕竟都是一年前的东西了。现在只是用到的时候顺便写写 注意:字符串操作尽量数组操作 自己操作出来的字符串最后不要忘记加'\0' int a 阅读全文
posted @ 2017-05-12 20:38 懒虫哥哥 阅读(70) 评论(0) 推荐(0) 编辑
摘要: implicit adj. 不言明[含蓄]的; 无疑问的, conversion n. 变换,转变; precision n. 精确度, adj. 精确的, with precision 准确地 expect v期待; 预期; seek vt. 寻找 seed n 种子 reverse vt. (使 阅读全文
posted @ 2017-05-12 18:28 懒虫哥哥 阅读(91) 评论(0) 推荐(0) 编辑
摘要: time类型的定义: typedef long __darwin_time_t; typedef __darwin_time_t time_t; 随机数种子函数 void srand(unsigned) 获取时间值的函数 time_t time(time_t *); 综合代码 void create 阅读全文
posted @ 2017-05-12 18:14 懒虫哥哥 阅读(142) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2017-05-12 18:10 懒虫哥哥 阅读(96) 评论(0) 推荐(0) 编辑