qsrand(QTime(0, 0, 0).secsTo(QTime::currentTime()));
int id = qrand();
Qt实现生成唯一标识ID
最新推荐文章于 2024-08-27 11:13:20 发布
qsrand(QTime(0, 0, 0).secsTo(QTime::currentTime()));
int id = qrand();