摘要: #include <algorithm>srand( (unsigned)time(NULL) ); //设置随即数生成器的种子 vector<unsigned int> vecRand; if (m_pPlayerArray != NULL) { unsigned int unObjCount = m_pPlayerArray->count(); for (unsigned int num = 0; num < unObjCount; ++num) { vecRand.push_back... 阅读全文
posted @ 2013-06-03 10:26 呆呆笨笨 阅读(2507) 评论(0) 推荐(0) 编辑