摘要:
REM Initialize env for msvc 2010 cl compiler SET PATH=C:\Windows;C:\Windows\system32 REM Set up \Microsoft Visual Studio 2010, where is amd64, x86, etc. CALL "C:\Program Files (x86)\Microsoft Visual... 阅读全文
摘要:
版本及安装环境 下载源码 进入下载列表,下载qt-everywhere-opensource-src-4.8.6.zip并解压缩到:C:\Qt\4.8.0x64\4.8.0x64 目录可以任意,不过比较好的方式是把所有版本的QT都放在一个主目录下,然后再细分。 编译 开始菜单搜索Visual Stu 阅读全文
摘要:
package com.wf; import javax.swing.*; import javax.swing.event.TreeSelectionEvent; import javax.swing.event.TreeSelectionListener; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing... 阅读全文
摘要:
project(GisFreeMap) set(CMAKE_BUILD_TYPE Debug) find_package(Qt4 REQUIRED QtCore QtGui QtXml) include(${QT_USE_FILE}) include_directories("E:/BaiduYunDownload/qgis/qgis-2.18.0/src/core") include_d... 阅读全文
摘要:
#include #include #pragma comment(lib, "comctl32.lib") LRESULT CALLBACK MyProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) { static HWND hStatus; switch(msg) { case WM_CREATE: { hSt... 阅读全文
摘要:
char receive_buffer[500] = {0}; std::vector mysplit(std::string str,std::string pattern) { std::string::size_type pos; std::vector result; str+=pattern;//扩展字符串以方便操作 int size=str.siz... 阅读全文
摘要:
#include #include #include #include #include class MyFrameWnd : public CFrameWnd { public: MyFrameWnd() :CFrameWnd() { Create(0, TEXT("Hello")); m_Menu.CreateMenu();... 阅读全文
摘要:
sys/types.h:数据类型定义 sys/socket.h:提供socket函数及数据结构 netinet/in.h:定义数据结构sockaddr_in arpa/inet.h:提供IP地址转换函数 netdb.h:提供设置及获取域名的函数 sys/ioctl.h:提供对I/O控制的函数 sys 阅读全文