大约有 3,600 项符合查询结果(耗时:0.0181秒) [XML]

https://www.tsingfun.com/it/cp... 

C++应用程序添加VBScript和JavaScript支持 - C/C++ - 清泛网移动版 - 专注C/C++及内核技术

...C++程序中调用JavaScript及VBScript。效果截图: 源码点此下载。 Introduction I am always amazed to see how the script control (msscript.ocx) is fun to use and at the same time how C++ developers reacted when it's time to use. Maybe the extension (.ocx) make them feel, it's vis...
https://www.tsingfun.com/ilife/tech/1246.html 

婚庆O2O:领跑的企业也就只走到B轮 - 资讯 - 清泛网 - 专注C/C++及内核技术

...么,仍是一头雾水。新人登录各种五花八门的网站平台,下载各种app,看到的仍旧是眼花缭乱的各种优惠促销的商家,酒店、婚礼策划、婚纱摄影、婚品等。 而且,但凡一个新模式出来了,立马就会有人跟在后面去复制,美名...
https://www.tsingfun.com/it/cpp/1252.html 

MFC CListCtrl使用方法详解 - C/C++ - 清泛网 - 专注C/C++及内核技术

...m_list.SetItem(..); //具体参数请参考msdn 21. 在CListCtrl显示文件,并根据文件类型来显示图标 网上找到的代码,share BOOL CTest6Dlg::OnInitDialog() { CDialog::OnInitDialog(); HIMAGELIST himlSmall; HIMAGELIST ...
https://www.tsingfun.com/html/... 

.a: error adding symbols: File format not recognized 原因 - 操作系统(...

...Linux/GCC上编译工程时链接了高版本Linux/GCC上编译出来的库文件,导致不能识别报错。 一般地,高版本可以链接成功低版本的,反之则不能。
https://www.tsingfun.com/it/cpp/1285.html 

STL:accumulate与自定义数据类型 - C/C++ - 清泛网 - 专注C/C++及内核技术

...后让它作为accumulate()的第四个参数,accumulate()的原型为(文件取自DEV-C++编译器): template<typename _InputIterator, typename _Tp, typename _BinaryOperation> _Tp accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_o...
https://www.tsingfun.com/it/cpp/1425.html 

VC 对话框背景颜色、控件颜色 - C/C++ - 清泛网 - 专注C/C++及内核技术

...骤如下(以上例工程为准): ①在CExampleDlgDlg的头文件中,添加一个CBrush的成员变量: class CExampleDlgDlg : public CDialog {... protected: CBrush m_brush; ... }; ②在OnInitDialog()函数中添加...
https://www.tsingfun.com/it/cpp/1443.html 

c++ Timer使用总结 - C/C++ - 清泛网 - 专注C/C++及内核技术

...定时器,1秒后触发 KillTimer(TIMER_ID); //取消定时器 //.h文件函数申明 afx_msg void OnTimer(UINT_PTR nIDEvent); //.cpp函数定义 void CxxDlg::OnTimer(UINT_PTR nIDEvent) { switch (nIDEvent) { case TIMER_ID: { //do something } break; de...
https://www.tsingfun.com/it/cpp/1491.html 

c++ boost库 序列化与反序列化 - C/C++ - 清泛网 - 专注C/C++及内核技术

... { return -1; } return 0; } //从文件加载结构体数据 template<typename TemplateStruct> int load(TemplateStruct & templateStruct,const std::string &strFileName,const unsigned int version = SERIALIZATION_VERSION) { try { ...
https://www.tsingfun.com/it/cpp/1493.html 

SHFileOperation 这个API函数怎么用起来结果飘忽不定? - C/C++ - 清泛网 -...

...失败。 解决: 改用C++的FindNextFile,支持 * 通配符查找文件,核心代码如下: WIN32_FIND_DATA FindFileData; char szCurPath[MAX_PATH + 1] = { 0 }; GetCurrentDirectory(MAX_PATH, szCurPath); CString findFileName; findFileName.Format("%stest*.txt", szCurPath); HANDL...
https://www.tsingfun.com/it/cpp/1522.html 

error LNK2019: 无法解析的外部符号_socket,该符号在函数 中被引用 - C/C+...

...新 0 个,跳过 0 个 ========== 解决方法如下: 在CPP文件include语句之后加上如下代码: #pragma comment(lib,"ws2_32.lib") LNK2019 socket