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

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

MFC中ComboBox控件的使用 - C/C++ - 清泛网 - 专注C/C++及内核技术

... nStartAfter,LPCTSTR lpszItem )//可以在当前所有行中查找指定的字符传的位置,nStartAfter指明从那一行开始进行查找。 int SelectString( intnStartAfter, LPCTSTR lpszItem )//可以选中包含指定字符串的行 二、如何控制Combo Box的下拉长度 1,首先...
https://www.tsingfun.com/it/cpp/1514.html 

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

std::string截取字符串,截取ip:portstd::string ip("127.0.0.1:8888");int index = ip.find_last_of(':'); 获取ipip.substr(0, index).c_str(); 获取portip.substr(index + 1).c_str();std::string ip("127.0.0.1:8888"); int index = ip.find_last_of(':'); // 获取ip ip.substr(0, index).c_str();...
https://bbs.tsingfun.com/thread-1611-1-1.html 

App Inventor如何取文本每一个字符进行运算? - App Inventor 2 中文网 - ...

问:App Inventor如何取文本每一个字符进行运算? 答: [hide]1、拿出文本的长度,进行循环,然后用文本.截取方法,拿出每一个字符,比如某个字母'a'。 文档:https://www.fun123.cn/reference/blocks/text.html#segment 2、要看具体的每个...
https://www.tsingfun.com/it/cpp/1434.html 

stl 字符串std::string作为std::map主键key的实例 - C/C++ - 清泛网 - 专注C/C++及内核技术

stl 字符串std::string作为std::map主键key的实例本文通过一个实例介绍std::map字符串作为key的常见用法,并使用find_if实现map按value值查找。代码如下: #include <map> #include <string> #include <algorithm> using namespace std; class map_value_finder {...
https://www.tsingfun.com/it/cpp/1502.html 

%d,%c,%s,%x等转换符 释义 - C/C++ - 清泛网 - 专注C/C++及内核技术

...符 %a(%A) 浮点数、十六进制数字和p-(P-)记数法(C99) %c 字符 %d 有符号十进制整数 %f 浮...转换说明符 %a(%A) 浮点数、十六进制数字和p-(P-)记数法(C99) %c 字符 %d 有符号十进制整数 %f...
https://bbs.tsingfun.com/thread-2639-1-1.html 

【二进制】UrsAI2ByteArray 字节数组扩展:读写二进制数据,二进制文件读写...

...进制表示。HexPrefix属性指定在十六进制数字前面放置哪个字符串,默认设置为”0x”。可以使用以下方法插入和读取字符串:AddUTF8String、AddASCIIStringReadUTF8String、ReadASCIIStringReadUTF8StringUntil、ReadASCIIStringUntil UTF-8编码的字符串通常...
https://bbs.tsingfun.com/thread-873-1-1.html 

std::string截取字符串,截取ip:port - c++1y / stl - 清泛IT社区,为创新赋能!

std::string ip(&quot;127.0.0.1:8888&quot;); int index = ip.find_last_of(':'); // 获取ip ip.substr(0, index).c_str(); // 获取port ip.substr(index + 1).c_str();
https://www.tsingfun.com/ilife/life/1816.html 

快速删除代码中残留的行号、多余字符 - 杂谈 - 清泛网 - 专注C/C++及内核技术

快速删除代码中残留的行号、多余字符某网站拷贝下的代码:using System; 2using System.Collections.Generic; 3using System.Linq; 4using System.Text; 5 ...某网站拷贝下的代码: using System; 2using System.Collections.Generic; 3using System.Linq; 4using S...
https://www.tsingfun.com/it/tech/2014.html 

vim 命令与快捷键 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...nG:到第n行 :n:到第n行 删除命令 x:删除光标所在处的字符 nx:删除光标所在处后的n个字符 dd:删除光标所在行 ndd:删除第n行字符 gG:删除光标所在到文章底部的内容 D:删除光标所在到行首的 :n1,n2d:删除n1到n2行的所有内容 ...
https://www.tsingfun.com/it/cpp/2185.html 

MFC 时间控件CDataTimeCtrl使用(获取日期、时间字符串等) - C/C++ - 清泛...

MFC 时间控件CDataTimeCtrl使用(获取日期、时间字符串等)设置显示格式: 只显示小时( (CDateTimeCtrl*)GetDlgItem(IDC_StartHour) )->SetFormat(_T("HH"));获取控件的值:CTime m_date;( (CDa...设置显示格式: //只显示小时 ( (CDateTimeCtrl*)GetDlgItem(IDC_S...