//随机数的种子这样1、
#include <ctime>2、
srand( (unsigned int)time(NULL) );3、
rand()%(GAME_WIDTH - m_enemys[i].m_Rect.width());
posted on 2021-08-06 15:20 袁佳佳 阅读(148) 评论(0) 编辑 收藏 举报