12 2015 档案

std::thread 在DLLMain 中会发生死锁 std::thread cause deadlock in DLLMain
摘要:注意不要再DLLMain中使用 std::thread 否则会发生死锁。 但是可以使用 _beginthreadex (此函数可以使用lambda) 或者直接使用windows的底层函数: CreateThread相关链接: http://stackoverflow.com/q... 阅读全文

posted @ 2015-12-26 18:34 norsd 阅读(293) 评论(0) 推荐(0) 编辑

MongoDb 创建用户以及其他版本造成的一些问题
摘要:问题:require auth data to have schema version 3 but found 1 这是可以查看如下链接: http://stackoverflow.com/questions/26723693/getting-an-error-trying-to-... 阅读全文

posted @ 2015-12-23 16:26 norsd 阅读(143) 评论(0) 推荐(0) 编辑

String.Format 大全
摘要:0、0的格式化string.Format("{0:8D8}", 3)//第一个8表示空8个位置,后一个8表示用0填写最多8位数据1、格式化货币(跟系统的环境有关,中文系统默认格式化人民币,英文系统格式化美元)string.Format("{0:C}",0.2) 结果为:¥0.20 ... 阅读全文

posted @ 2015-12-08 21:15 norsd 阅读(465) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示