摘要: Rand()和srand()配合产生随机数 - 掷骰子游戏 /*rand() - 随机数生成器 使用方法 * rand(0,RAND_MAX)生成的数字在0~RAND_MAX区间 */ #include <stdio.h> #include <stdlib.h> #include <time.h> 阅读全文
posted @ 2021-03-09 19:26 NTE701 阅读(545) 评论(0) 推荐(0)
1