大约有 30,000 项符合查询结果(耗时:0.0337秒) [XML]

https://www.tsingfun.com/it/cpp/671.html 

如何判断GIF是否是动图 - C/C++ - 清泛网 - 专注C/C++内核技术

...或其他文本工具)打开图像文件,若是单图像会发现JFIF标识,若为动图,则会出现GIF。charstrGIF[3];memcpy( strGIF, pbyImag...用记事本(或其他文本工具)打开图像文件,若是单图像会发现JFIF标识,若为动图,则会出现GIF。 c...
https://www.tsingfun.com/it/cpp/1351.html 

c++ 写日志通用类,可设置日志级别 - C/C++ - 清泛网 - 专注C/C++内核技术

...indows & linux 通用),可设置日志级别。代码经过较长时间测试,可用性高。Logger.h #ifndef __LOGGER_H_ #define __LOGGER_H_ #include <iostream> #include <atlstr.h> #pragma warning(disable:4996) #define LEVEL_FATAL 0 #define LEVEL_ERROR 1 #define LEVEL_WARN ...
https://www.tsingfun.com/it/cpp/1488.html 

shared_ptr指针被赋值后,原指针会引用清零、自动释放。 - C/C++ - 清泛网 ...

...::shared_ptr<int> p) { intg = p; // 原指针释放,存储新智能指针 //*(intg.get()) = *(p.get()); // 原指针不释放,仅修改原指针指向内容 } int _tmain(int argc, _TCHAR* argv[]) { { std::shared_ptr<int> sp(new int(2)...
https://www.tsingfun.com/it/cpp/1509.html 

std::map strng key编译错误 - C/C++ - 清泛网 - 专注C/C++内核技术

std::map strng key编译错误乱七八糟错误,原因很简单,少了 #include <string>(注意,不是string.h,如果包含了string.h,请改为string)乱七八糟错误,原因很简单,少了 #include <string> (注意,不是string.h,如果包含了string.h,请改...
https://www.tsingfun.com/it/cpp/1515.html 

解决:Successful WSAStartup not yet performed. Error code : 10093. - C...

...ccessful WSAStartup not yet performed. Error code : 10093.出现10093错误原因是应用程序没有调用 WSAStartup,或者 WSAStartup 失败。原因:调用WSASocket等Socket函数之前必须先执行WSAStartup...出现10093错误原因是应用程序没有调用 WSAStartup,或者 W...
https://www.tsingfun.com/it/cpp/1529.html 

ThreadXxx.h:100: error: ‘pthread_t’ was not declared in this scope -...

...adtypes.h中定义:typedef unsigned long int pthread_t;它是一个线程标识符。#include <pthread.h> 解决。pthread_t在头文件/usr/include/bits/pthreadtypes.h中定义: typedef unsigned long int pthread_t; 它是一个线程标识符。 #include <pthread.h> 解决。 pt...
https://www.tsingfun.com/it/cpp/1537.html 

CreateWindow()动态创建一个EditBox - C/C++ - 清泛网 - 专注C/C++内核技术

...框等。DWORD errno = GetLastError() 查看错误代码。 2.不可在类构造函数中创建Edit,因为此时主窗口还没有被创建出来,导致出现“Cannot create a top-level child window”错误。 ---------------------------------------------------------------------------...
https://www.tsingfun.com/it/cpp/1545.html 

CGridCtrl 选一行 选择整行 - C/C++ - 清泛网 - 专注C/C++内核技术

CGridCtrl 选一行 选择整行 设置控件类似于ListCtrl表现,选择整行m_Grid.SetListMode(TRUE);//设置控件类似于ListCtrl表现,选择整行 m_Grid.SetListMode(TRUE);CGridCtrl 选择整行 选一行
https://www.tsingfun.com/it/cpp/1548.html 

如何让CSplitterWnd分割窗口大小改变后不出现滚动条? - C/C++ - 清泛网 - ...

...满窗口不应出现滚动条,效果如图:解决方案:上面窗口OnSize()函数中添加...分隔条大小改变后上面窗口出现了滚动条,但是列表数据量并没有占满窗口不应出现滚动条,效果如图: 解决方案: 上面窗口OnSize()函数中...
https://www.tsingfun.com/it/cpp/1570.html 

一款IP:端口监控工具 服务器端口监控工具[附源码] - C/C++ - 清泛网 - 专注...

...监控ip:port,类似于telnet命令。界面清晰简洁,异常连接情况一目了然。支持添加、编辑、删除、移动ip:port TradeMonitor v1.0 功能介绍: 监控ip:port,类似于telnet命令。 界面清晰简洁,异常连接情况一目了然。 支持添加、...