![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
杂文
Caliburn_
自2017/7后所有博客发布在pramantha.cn,欢迎各位参观交流。
展开
-
Failed to save the updated manifest to the file "Debug\ex07_1.exe.embed.man
VS提示报错: Failed to save the updated manifest to the file "Debug\ex07_1.exe.embed.man 出错原因: 原先的编译结果影响了本次编译。 解决办法: 将“工程名/Debug”文件下面的“xxx.exe.embed.manifest”这个文件删除,重新编译一下即可。转载 2017-04-13 18:34:29 · 255 阅读 · 0 评论 -
产生真正的随机数
srand((unsigned)time(NULL))使用系统定时/计数器的值作为随机种子。每个种子对应一组根据算法预先生成的随机数,所以,在相同的平台环境下,不同时间产生的随机数会是不同的,若将srand(unsigned)time(NULL)改为srand(TP)(TP为任一常量),则无论何时运行、运行多少次得到的“随机数”都会是一组固定的序列。 time原创 2017-06-17 17:43:24 · 748 阅读 · 0 评论