摘要:
#include<iostream> #include<boost/tuple/tuple.hpp> #include<boost/variant.hpp> #include<boost/tuple/tuple_io.hpp> #include<boost/any.hpp> #include<vec 阅读全文
posted @ 2017-04-20 12:51
clnchanpin
阅读(1014)
评论(0)
推荐(0)
摘要:
操作 Change operations: 0 a b change all characters into '0's in [a , b] 1 a b change all characters into '1's in [a , b] 2 a b change all '0's into '1' 阅读全文
posted @ 2017-04-20 12:01
clnchanpin
阅读(162)
评论(0)
推荐(0)
摘要:
在linux 下写线程程序的同学预计都遇到过找bug找到崩溃的情况。多线程情况下bug的追踪实在是不easy。 如今我来介绍一个好用的方法 ulimit core。 先简介一下ulimit是个什么(你也能够man ulimit自己查看)。 “‘当系统中的一些程序在遇到一些错误以及crash时,系统会 阅读全文
posted @ 2017-04-20 11:13
clnchanpin
阅读(530)
评论(0)
推荐(0)
摘要:
1、grep介绍 grep命令是Linux系统中一种强大的文本搜索工具,它能使用正則表達式搜索文本。并把匹 配的行打印出来。grep全称Global Regular Expression Print,表示全局正則表達式版本号,它的使用权限是全部用户。grep可用于shell脚本,由于grep通过返回 阅读全文
posted @ 2017-04-20 10:38
clnchanpin
阅读(724)
评论(0)
推荐(0)
摘要:
在Linux/Unix系统中。每一个进程都有一个非负整型表示的唯一进程ID。尽管是唯一的。可是进程的ID能够重用。当一个进程终止后,其进程ID就能够再次使用了。大多数Linux/Unix系统採用延迟重用的算法,使得赋予新建进程ID不同于近期终止进程所使用的ID,这主要是为了防止将新进程误觉得是使用同 阅读全文
posted @ 2017-04-20 09:05
clnchanpin
阅读(2960)
评论(0)
推荐(0)
摘要:
源代码下载 代码实现: //时间戳转标准时间 - (void)Click1:(UIButton *)btn { NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setDateFormat:@"yyyy-M 阅读全文
posted @ 2017-04-20 08:15
clnchanpin
阅读(1096)
评论(0)
推荐(0)
浙公网安备 33010602011771号