2022年3月16日
摘要: UILIB_ZIPRESOURCE模式下FindResource始终为NULL,后来发现在resource.h中将IDR_ZIPRES删掉就好了,百思不得其解 阅读全文
posted @ 2022-03-16 08:59 M1911 阅读(35) 评论(0) 推荐(0) 编辑
  2021年12月17日
摘要: 使用Flask-SocketIO完成服务端和客户端的双向通信https://blog.csdn.net/weixin_36380516/article/details/80418354 整理的仓库地址https://github.com/thuquant/awesome-quant 一个C++的DB 阅读全文
posted @ 2021-12-17 13:53 M1911 阅读(27) 评论(0) 推荐(0) 编辑
  2021年11月10日
摘要: F12、Fn + F12后点击console,输入document.body.contentEditable='true' 阅读全文
posted @ 2021-11-10 08:48 M1911 阅读(1459) 评论(0) 推荐(0) 编辑
  2021年11月9日
摘要: gcc版本高于5.0时,使用occi会报错:ORA-24960: the attribute OCI_ATTR_USERNAME is greater than the maximum allowable length of 255 在代码第一行,增加 #define _GLIBCXX_USE_CX 阅读全文
posted @ 2021-11-09 16:53 M1911 阅读(458) 评论(0) 推荐(0) 编辑
摘要: #include <codecvt>#include <locale> std::string gb2312_to_utf8(std::string const &strGb2312) { std::vector<wchar_t> buff(strGb2312.size());#ifdef _MSC 阅读全文
posted @ 2021-11-09 08:03 M1911 阅读(421) 评论(0) 推荐(0) 编辑
  2021年11月4日
摘要: 1、新建一个文件夹zhida 2、在zhida文件夹下分别创建文件夹src,wrap,zhida,zhida\damarketapi 3、在zhida文件夹新建一个文件damarketapi.i,文件内容如下:%module(directors="1") damarketapi %include " 阅读全文
posted @ 2021-11-04 10:51 M1911 阅读(59) 评论(0) 推荐(0) 编辑
  2021年10月29日
摘要: 什么是期权询价询价是当期权行情双边没有报价的时候,可以在客户端发起询价,请求做市商报价,在交易时间内,做市商按协议约定,对收到询价请求的合约,进行的双边报价 询价操作限制交易所有询价价差的限制,期货公司可以在柜台上进行设置,一般如下经纪公司代码 合约代码 交易所代码 最新价 价差 1008 SRC 阅读全文
posted @ 2021-10-29 09:12 M1911 阅读(880) 评论(0) 推荐(0) 编辑
  2021年9月17日
摘要: 如果路径中含有中文,open的时候会返回14,需要将全路径名转换为UTF8编码 #include <codecvt> //将GBK编码的字符串转换为UTF8string toUtf(const string &gb2312){#ifdef _MSC_VER const static locale l 阅读全文
posted @ 2021-09-17 15:08 M1911 阅读(637) 评论(0) 推荐(0) 编辑
摘要: CString-->string: CString cstrA;string strB = CT2A(cstrA.GetBuffer()); string转CString: string strA; CString cstrB(strA.c_str()); 阅读全文
posted @ 2021-09-17 14:51 M1911 阅读(103) 评论(0) 推荐(0) 编辑
  2021年6月16日
摘要: 1、下载openssl 2、下载ActivePer 3、管理员打开vs2107菜单下的适用于 VS 2017 的 x64 本机工具命令提示 4、执行perl Configure VC-WIN64A 5、执行ms\do_win64a 6、执行ms\do_win64a 阅读全文
posted @ 2021-06-16 10:29 M1911 阅读(134) 评论(0) 推荐(0) 编辑