05 2020 档案

摘要:Clipboard.SetDataObject(Image.FromFile("test.gif"), false); richTextBox1.Paste(); 阅读全文
posted @ 2020-05-22 22:39 sherlock-merlin 阅读(721) 评论(0) 推荐(0) 编辑
摘要:char* pData = "hello world"; char buf[3]; std::string result = ""; for (int i = 0;i < length; i++) { sprintf(buf, "%02x", pData[i]); result += buf; } 阅读全文
posted @ 2020-05-11 17:49 sherlock-merlin 阅读(4733) 评论(0) 推荐(1) 编辑
摘要:c++ 1 #include <locale.h> 2 #include <time.h> 3 4 // 获取当天0时的时间戳 5 unsigned int getStartTime() 6 { 7 time_t t = time(NULL); 8 struct tm* tm = localtime 阅读全文
posted @ 2020-05-11 08:40 sherlock-merlin 阅读(1658) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示