大约有 17,000 项符合查询结果(耗时:0.0186秒) [XML]
Linux日志管理Rsyslog入门 - C/C++ - 清泛网移动版 - 专注C++内核技术
...的Linux缺省使用Syslog,其配置大致如下所示:
shell> cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
# kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication mes...
Linux日志管理Rsyslog入门 - C/C++ - 清泛网 - 专注C/C++及内核技术
...的Linux缺省使用Syslog,其配置大致如下所示:
shell> cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
# kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication mes...
Linux日志管理Rsyslog入门 - C/C++ - 清泛网 - 专注C/C++及内核技术
...的Linux缺省使用Syslog,其配置大致如下所示:
shell> cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
# kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication mes...
std::string的截取字符串的方法 - C/C++ - 清泛网 - 专注C/C++及内核技术
std::string的截取字符串的方法例如截取ip:port,代码如下:std::string ip("127.0.0.1:8888");int index = ip.find_last_of(':'); ipip.substr(0, index)....例如截取ip:port,代码如下:
std::string ip("127.0.0.1:8888");
int index = ip.find_last_of(':');
//ip
ip.substr(0, in...
做程序猿的老婆应该注意的一些事情 - 杂谈 - 清泛网 - 专注C/C++及内核技术
...我去拿书了。于是我们第一次“见面”了,我只看见一个对着电脑,佝偻着背的背影……严重怀疑程序猿根本没抬头看一眼那个已经晒得像反转熊猫一样的妹子,因为他递过来书以后,又迅速投入到了电脑的怀抱,相对应的,我...
TCP 的那些事儿(上) - 更多技术 - 清泛网 - 专注C/C++及内核技术
...问题和阴暗面。所以学习TCP本身是个比较痛苦的过程,但对于学习的...
TCP是一个巨复杂的协议,因为他要解决很多问题,而这些问题又带出了很多子问题和阴暗面。所以学习TCP本身是个比较痛苦的过程,但对于学习的过程却能...
Linux日志管理Rsyslog入门 - C/C++ - 清泛网移动版 - 专注C/C++及内核技术
...的Linux缺省使用Syslog,其配置大致如下所示:
shell> cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
# kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication mes...
C++虚继承的概念 - C/C++ - 清泛网 - 专注C/C++及内核技术
...下,虚基类关键字的作用范围和继承方式关键字相同,只对紧跟其后的基类起作用。
声明了虚基类之后,虚基类在进一步派生过程中始终和派生类一起,维护同一个基类子对象的拷贝。
C++虚拟继承
◇概念:
C++使用虚拟继...
CString的截取字符串,截取ip:port - C/C++ - 清泛网 - 专注C/C++及内核技术
CString的截取字符串,截取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.Fi...
Discuz! X3 论坛标题字数突破80的限制 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...80的限制当一些用户发布帖子的时候 标题要是超过了80个字符超出的部分被剪切掉了,特别是一些用户发送一些英文或其他其语言的文章的时候标题说甚至...当一些用户发布帖子的时候 标题要是超过了80个字符超出的部分被剪切...