StupidBeauty
Read times:432Posted at:Tue Jul 3 20:36:09 2012
- no title specified

Qt4.8文档翻译:<QtGlobal> - Qt中定义的一些全局的东西, <QtGlobal> - Global Qt Declarations

函数文档

int qrand ()

标准C++中 rand() 函数的线程安全版本。

返回的是:一个处于0和 RAND_MAX (在 <cstdlib> <stdlib.h> 中定义)之间的值,它是当前伪随机数序列中的下一个数字。

使用 qsrand() 来为这个伪随机数生成器设置一个种子值。

这个函数从Qt 4.2 开始引入。

参考 qsrand ()

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4