2021年8月6日

C++ 真随机

摘要: //随机数的种子这样1、 #include <ctime>2、 srand( (unsigned int)time(NULL) );3、 rand()%(GAME_WIDTH - m_enemys[i].m_Rect.width()); 阅读全文

posted @ 2021-08-06 15:20 袁佳佳 阅读(148) 评论(0) 推荐(0) 编辑

导航