![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 78
猎狐肥
这个作者很懒,什么都没留下…
展开
-
cximage mix 注意图像合成时内部坐标
double h1,w1,h2,w2,h3,w3,h4,w4,bpp; //getheight(w4,h4); CString spath1 = _T("测试1"); CString spath2 = _T("测试2"); CString spath3 = _T("测试3"); CStringArray arraystr; arraystr.Add(spath1);arraystr.Add(spath2);arraystr.Add(spath3); ...原创 2021-03-02 13:18:46 · 369 阅读 · 0 评论 -
cef OnBeforePopup禁止弹出新窗体
bool SimpleHandler::OnBeforePopup( CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, const CefString& target_url, const CefString& target_frame_name, WindowOpenDi...原创 2020-01-03 23:20:10 · 3127 阅读 · 0 评论 -
值得推荐的C/C++框架和库(深度好文)
【本文系外部转贴,原文地址:http://www.cppblog.com/merlinfang/archive/2014/12/26/209311.html http://coolshell.info/c/c++/2014/12/13/c-open-project.htm】留作存档公交车上看到的好文,忍不住转发!下次造轮子前先看看现有的轮子吧--值得学习的C语言开源转载 2017-01-11 09:47:49 · 674 阅读 · 0 评论 -
error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700'
You are trying to link objects compiled by different versions of the compiler. That's not supported in modern versions of VS, at least not if you are using the C++ standard library. Different versions原创 2016-12-06 13:54:03 · 2696 阅读 · 0 评论 -
找出两个字符串中最大的公共子串的简单实现
分析:Short =abcdeLong =123456Abcde Abcde AbcdBcde AbcBcdCde AbBcCdDe ABCDE缺点:只能选择一个最大的子字符串 char * common_sub( char * str1, char *str2){ assert((str2 != NULL) && (str1 != NULL)); char * shortstr =转载 2016-10-05 15:26:51 · 495 阅读 · 0 评论 -
插入排序
算法实现:public void insertSort(int[] list) { // 第1个数肯定是有序的,从第2个数开始遍历,依次插入有序序列 for (int i = 1; i < list.length; i++) { int j = 0; int temp = list[i]; // 取出第i个数,和前i-1个数比较后转载 2016-10-05 23:42:19 · 230 阅读 · 0 评论 -
10038
sendto 返回-1,错误10038;解决办法:http://stackoverflow.com/questions/14289998/connect-function-fails-wsagetlasterror-10038if ((sa = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) == INVALID_SOCKET))与原创 2016-08-06 15:03:43 · 787 阅读 · 0 评论