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

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

vc/mfc *通配符 批量删除文件 - C/C++ - 清泛网 - 专注C/C++及内核技术

...me; FileOp.pTo = NULL; if (SHFileOperation(&FileOp) != 0) printf("删除文件:%S失败(Error:%d)\n", delFileName, GetLastError()); return 0; } 经过测试,文件路径必须为绝对路径,相对路径会操作失败。 获取当前路径拼...
https://www.tsingfun.com/it/cpp/1558.html 

MFC 设置控件字体,颜色,大小,粗体,下划线等 - C/C++ - 清泛网 - 专注C/...

...码:CFont *f = new CFont; f->CreateFont(16, nHeight 0, nWidth ...参考代码: CFont *f = new CFont; f->CreateFont(16, // nHeight 0, // nWidth 0, // nEscapement 0, // nOrientation FW_BOLD, //...
https://www.tsingfun.com/it/cpp/1622.html 

CString的截取字符串,截取ip:port - C/C++ - 清泛网 - 专注C/C++及内核技术

...取ip:portCString截取ip:port,代码如下:CString strIpPort = "127.0.0.1:8888";CString strIp, strPort;int index = strIpPort.Find('...CString截取ip:port,代码如下: CString strIpPort = "127.0.0.1:8888"; CString strIp, strPort; int index = strIpPort.Find(':'); if (index > 0) { s...
https://www.tsingfun.com/it/cpp/1823.html 

Linux automake自动编译全攻略 - C/C++ - 清泛网 - 专注C/C++及内核技术

...下: 核心配置如下: configure.in: AC_INIT([test], [1.0.0], [bugreport.test.com]) #指定项目名称和版本号 AM_INIT_AUTOMAKE(test, 1.0.0) #检查编译器 AC_PROG_CC AC_PROG_LIBTOOL #输出Makefile文件 AC_CONFIG_FILES([ Makefile lib/Makefile ...
https://www.tsingfun.com/it/cpp/1961.html 

c语言编程中%g是什么格式? - C/C++ - 清泛网 - 专注C/C++及内核技术

...式(选择输出时占宽度较小的一种),且不输出无意义的0。即%g是根据结果自动选择科学...%g用来输出实数,它根据数值的大小,自动选f格式或e格式(选择输出时占宽度较小的一种),且不输出无意义的0。即%g是根据结果自动...
https://www.tsingfun.com/it/cpp/c_offset_of.html 

c/c++取结构体指定成员的偏移,及原理解析 - C/C++ - 清泛网 - 专注C/C++及内核技术

...模拟系统的实现): define MY_STRUCT_OFFSET(s, m) ((size_t)(& ((s*)0)->m ))原理如下:1、0即空指 可以使用std标准函数 offsetof(),在stddef.h头文件中,实现原理如下(模拟系统的实现): #define MY_STRUCT_OFFSET(s, m) ((size_t)(& ((s*)0)->m )) 原理...
https://www.tsingfun.com/it/opensource/2482.html 

c++ 经典的快速排序QuickSort完整代码片 - 开源 & Github - 清泛网 - 专注C/C++及内核技术

...: include <iostream>void printArray(int *array, int n){ for (int i = 0 c++快速排序算法实现,经典的一种写法,来自Github,原文有个bug,本文已修正代码如下: #include <iostream> void printArray(int *array, int n) { for (int i = 0; i < n; ++i) ...
https://www.tsingfun.com/it/tech/758.html 

CSS让文字半透明显示在图片上层 - 更多技术 - 清泛网 - 专注C/C++及内核技术

... #555555;} .photo a:hover{border:1px solid #FFFFFF;} .photo span{width:360px;background:#000;display:block;position:absolute;bottom:0;left:0;color:#fff;filter:alpha(opacity=50);-moz-opacity:0.6;opacity:0.6;font:bold 12px/30px Verdana, Arial; text-align:center;cursor:hand;} .photo a:hover span{tex...
https://www.tsingfun.com/it/tech/1334.html 

jumpserver-华为云免费堡垒机解决方案 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...irrors.163.com/centos/6.7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm wget http://mirrors.163.com/centos/6.7/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm 3.进行安装yum rpm -ivh python* rpm -ivh yum* 注意最后两个包必需同时安装,否...
https://www.tsingfun.com/it/tech/2007.html 

IOS 设备忘记root密码怎么找回 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...t Viewer,按编辑按钮打开编辑器 找到类似于root:UlGASB5XWDrOc:0:0::0:0: 我们需要编辑的UlGASB5XWDrOc这一段 使用&rsquo;crypt&rsquo;函数进行算新密码,这里推荐一个网页 Crypt Tool,在$str输入你新密码,然后$salt输入任意两个字符点击run按钮得...