摘要: #include #include #include void main() { float s; srand((int)time(0)); s = (float)rand() / RAND_MAX; s = 3 + (5 - 3) * s; //[3,5]之间float数 [3,5]之间整数 s = rand() % 2 + 4 ... 阅读全文
posted @ 2018-07-21 14:44 LifeOverflow 阅读(77) 评论(0) 推荐(0)
摘要: #include #include #include #include void main() { int i = 0; char str[20]; char strl[40]; int lTime = 0; srand((int)time(0)); while (1) { i++; lTim... 阅读全文
posted @ 2018-07-21 14:31 LifeOverflow 阅读(514) 评论(0) 推荐(0)
摘要: 打开TIM并移动TIM(需要窗口信息小工具) 阅读全文
posted @ 2018-07-21 14:09 LifeOverflow 阅读(188) 评论(0) 推荐(0)