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

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

std::string的截取字符串的方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

...出现的c。有匹配,则返回匹配位置;否则返回-1.该搜索字符末尾查找匹配,所以没有提供起始位置。std::string 字符串 截取
https://www.tsingfun.com/it/cpp/1700.html 

为什么编译好的libcurl静态lib用不了? - C/C++ - 清泛网 - 专注C/C++及内核技术

...:http://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur 需要调用静态lib的工程(非libcurl源代码工程)预编译器添加 CURL_STATICLIB ,即可解决。 原因解析: curl.h部分代码 #ifdef CURL_STATICLIB # define CURL_EXTERN #elif defined...
https://www.tsingfun.com/it/cpp/2043.html 

error C2872: “count”: 不明确的符号 - C/C++ - 清泛网 - 专注C/C++及内核技术

...= "<<count<<endl; return 0; } 2) 使用命名空间引用变量,命名空间定义变量、函数和类。 #include <iostream> using namespace std; namespace global { int count = 0;//重新定义一个命名空间 } int increment() { return ++glob...
https://www.tsingfun.com/it/cpp/2263.html 

去掉std::string或std::wstring最后一个字符的几种简单方法 - C/C++ - 清泛...

...符: // 方法1 s.pop_back(); // 从s移走最后一个元素。string/wstring相当于移走最后一个char/wchar_t。 // 这个方法算是比较简单的了。 // 方法2 s.erase(s.end() - 1); // 删除s的最后一个字符 // 方法3 s = s.substr(0, s.length() - 1); ...
https://www.tsingfun.com/it/da... 

oracle:完整剖析PL/SQL DEVELOPER与SQL PLUS字符集设置 - 数据库(内核) - ...

... 3、http://www.itpub.net/838447,1.html 搞懂oracle字符集 本人也是他们基础上发现了问题并做了补充实验 一、如果您使用PL/SQL DEVELOPER(版本不限) 1、影响PL/SQL DEVELOPER字符集显示的要素 1.1 OS系统当前字符集 936表示操作系统当前...
https://www.tsingfun.com/it/da... 

Linux MySql的启动、关闭 - 数据库(内核) - 清泛网 - 专注C/C++及内核技术

...ry. 添加服务具体步骤如下: 首先找到mysql.server,一般 xxx/mysql/support-files/mysql.server 或者 xxx/mysql/share/mysql.server,当然了可以使用命令“find / -name mysql.server”来查找下。 # cp xxx/mysql/support-files/mysql.server /etc/init.d/mysql # chmo...
https://www.tsingfun.com/it/tech/471.html 

CentOS搭建sock5代理服务器(XEN VPS ) - 更多技术 - 清泛网 - 专注C/C++及内核技术

... Authentication # auth 0.0.0.0/0 - u /etc/opt/ss5/ss5.passwd 添加 用户名和密码 如: test test 使用用户验证,重启ss5服务 /etc/init.d/ss5 restart 服务器 sock5 代理 搭建
https://www.tsingfun.com/it/tech/504.html 

JS以_blank方式打开新窗口方法 - 更多技术 - 清泛网 - 专注C/C++及内核技术

... 等效于js代码 window.location.href="https://www.tsingfun.com"; //同当前窗口打开窗口 2、超链接<a href="https://www.tsingfun.com" title="清泛网" target="_blank">Welcome</a> 等效于js代码 window.open("https://www.tsingfun.com"); //另外新建窗...
https://www.tsingfun.com/it/tech/1713.html 

phpcms v9内容页/下载页更新时间(updatetime)为空的解决方法 - 更多技术 ...

...; 及 public function edit() { //设置cookie 附件添加处调用 param::set_cookie('module', 'content'); if(isset($_POST['dosubmit']) || isset($_POST['dosubmit_continue'])) { define(...
https://www.tsingfun.com/it/tech/1746.html 

JS文字卷动效果的调用函数:startmarquee - 更多技术 - 清泛网 - 专注C/C++及内核技术

...两个ul,当然li标签也由原来的3行,变为6行;复制的目的于给文字不间断向上滚动提供过渡。 o.onmouseover=function(){p=true} //鼠标滑过,停止滚动; o.onmouseout=function(){p=false} //鼠标离开,开始滚动;p是true还是false直...