摘要:http://www.naughter.com/serialport.html
阅读全文
摘要:http://staff.ustc.edu.cn/~zhuang/cpp/
阅读全文
摘要:https://www.cnblogs.com/huhewei/p/6219634.html
阅读全文
摘要:https://msdn.microsoft.com/zh-cn/library/ms177505.aspx
阅读全文
摘要:http://qwt.sourceforge.net/index.html
阅读全文
摘要:http://blog.csdn.net/yang_yulei/article/details/38192559
阅读全文
摘要:http://blog.csdn.net/shenjie12345678/article/details/28321969
阅读全文
摘要:#include #ifndef WX_PRECOMP #include #endif #include "FrmMain.h" class MyApp : public wxApp{ public: virtual bool OnInit(); }; bool MyApp::OnInit() { //wxMessageBox("Hello world"); FrmMa...
阅读全文
摘要:https://www.wxwidgets.org vs2015+wxwidgets 开发配置: http://blog.csdn.net/wyansai/article/details/51171225
阅读全文
摘要:#include #include #include // wstring => string std::string WString2String(const std::wstring& ws) { std::string strLocale = setlocale(LC_ALL, ""); const wchar_t* wchSrc = ws.c_str(); ...
阅读全文
摘要:// sin01.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include void CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTime ); int _tmain(int argc, _TCHAR* argv[]) { S...
阅读全文
摘要:数值类型 对于基本的数值类型,在C++/CLI中是可以直接映射为托管类型的数值的,可以同时应用于托管类型和非托管类型,编译器会将其自动转换。 基本类型 System命名空间中对应的类 注释/用法 bool System::Boolean bool dirty = false; char System
阅读全文
摘要:http://blog.sina.com.cn/s/blog_61bc01360102w5ts.html
阅读全文
摘要:工程配置: 1.VS2013新建MFC WIN32工程,删除掉除了stdafx.h之外的所有多余文件,并将项目工程设置为“使用 Unicode 字符集“; 2.Duilib工程文件: 常规--输出目录,中间目录: .\Build\Debug\ 字符集 -- 使用 Unicode 字符集 链接器--输
阅读全文
摘要:https://yq.aliyun.com/articles/120081?spm=5176.100239.blogcont120082.14.SBG70N#%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A0%87%E9%A2%98%E6%A0%8F http://www.cr173
阅读全文
摘要:LOAD PULL https://www.microwaves101.com/encyclopedias/microwave-measurements
阅读全文
摘要:CoInitialize(NULL);//初始化COM库 HRESULT hr = NULL; //HRESULT hr = E_FAIL;// S_OK, S_FALSE, E_FAIL; pConn.CreateInstance(__uuidof(Connection)); pRst.CreateInstance(__uuidof(Recordset)); try { ...
阅读全文
摘要:#include #include #include /// FAILED宏 和 SUCCEEDED宏 的使用细节 /// 为了使用 FAILED(hr) 或 SUCCEEDED(hr) 宏 /// hr值的选用注意事项: /// 成功时,可以选用 S_OK /// 失败时, 不能选用 S_FALSE, 而要选用 E_XX, e.g. E_FAIL /// 因为 SUCCEEDED(...
阅读全文
摘要:先看三行代码: typedef char CHAR; typedef CHAR *PCHAR,*LPCH,*PCH,*NPSTR,*LPSTR,*PSTR; typedef CONST CHAR *LPCCH,*PCCH,*LPCSTR,*PCSTR; 复制代码 解释: 1. 第一行:CHAR就是char类型,只是一个大写一个小写。 2. 第二行:PCHAR是一个指...
阅读全文