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

https://bbs.tsingfun.com/thread-816-1-1.html 

c++读注册表 - c++1y / stl - 清泛IT社区,为创新赋能!

...sp;       path = szBuffer;  //处理读出来的值                 RegCloseKey(hKey);          } }
https://bbs.tsingfun.com/thread-770-1-1.html 

const char *, char const *, char * const 异同?const修饰符各位置有何区...

const char * p = new char('a'); 这个是常字符,即p的内容不能被修改。 char const * p 意义同上,没有区别。 这时,*p = 'c'; 会报错。 char * const p = new char('a'); 这个是常指针,即p指针本身不可被修改。 这时,p = new char; 会报...
https://bbs.tsingfun.com/thread-12-1-1.html 

Linux常用命令(持续更新...) - 脚本技术 - 清泛IT论坛,有思想、有深度

... -h --max-depth=1 查找文件(例如/usr目录下查找包含'apache'的目录和文件): find /usr -name apache find /usr -name apache -type f    (只找文件) find /usr -name apache -type d   (只找目录) 查看进程: netstat -ntpl 解压: tar -zxvf...
https://www.tsingfun.com/it/os... 

Linux bcc tools使用总结(持续更新) - 操作系统(内核) - 清泛网 - 专注IT技能提升

...后,手动Ctrl + C 结束统计,输出此段时间内各自耗时区间的IO事件个数。 默认微秒区间,-m 参数则是毫秒区间。 # /usr/share/bcc/tools/biolatency Tracing block device I/O... Hit Ctrl-C to end. ^C usecs : count distribution ...
https://www.tsingfun.com/it/cp... 

MFC Telnet Application(mfc telnet 端口,代码实现、不调用telnet.exe) ...

...调用telnet.exe。程序源码工程升级后,可能出现编译不过的情况,请将stdafx.h中0x0410全部改为0x0501即可。The article demonstrates an MFC GUI Telnet application with server capabilities for incoming connections support. Download demo - 29.9 KB Download source - 42....
https://www.tsingfun.com/it/cp... 

MFC Telnet Application(mfc telnet 端口,代码实现、不调用telnet.exe) ...

...调用telnet.exe。程序源码工程升级后,可能出现编译不过的情况,请将stdafx.h中0x0410全部改为0x0501即可。The article demonstrates an MFC GUI Telnet application with server capabilities for incoming connections support. Download demo - 29.9 KB Download source - 42....
https://www.tsingfun.com/it/cp... 

MFC Telnet Application(mfc telnet 端口,代码实现、不调用telnet.exe) ...

...调用telnet.exe。程序源码工程升级后,可能出现编译不过的情况,请将stdafx.h中0x0410全部改为0x0501即可。The article demonstrates an MFC GUI Telnet application with server capabilities for incoming connections support. Download demo - 29.9 KB Download source - 42....
https://www.tsingfun.com/it/os... 

Linux bcc tools使用总结(持续更新) - 操作系统(内核) - 清泛网 - 专注IT技能提升

...后,手动Ctrl + C 结束统计,输出此段时间内各自耗时区间的IO事件个数。 默认微秒区间,-m 参数则是毫秒区间。 # /usr/share/bcc/tools/biolatency Tracing block device I/O... Hit Ctrl-C to end. ^C usecs : count distribution ...
https://www.tsingfun.com/it/tech/2574.html 

解决python3报错:TypeError: a bytes-like object is required, not \'str...

...thon3和Python2在套接字返回值解码上有区别,也就是说报错的这段代码在python2上可以正常使用。解决思路:python bytes和str两种类型可以通过函数encode()和decode() 问题原因: python3和Python2在套接字返回值解码上有区别,也就是说报...
https://www.tsingfun.com/it/op... 

libunwind:记录程序崩溃堆栈 - 开源 & Github - 清泛网 - 专注C/C++及内核技术

...ed #编译成.so,否则默认静态.la make make install 记录堆栈的代码如下: static void log_backtrace(void) { char name[256]; unw_cursor_t cursor; unw_context_t uc; unw_word_t ip, sp, offp; unw_getcontext(&uc); unw_init_local(&cursor, &uc); syslog(LOG_ERR, "--i...