#includeusing namespace std;class node{public:
node():value(0),next(NULL){} ~node(){} int value; node* next;};///be careful
this ;node* cr...
分类:
其他好文 时间:
2014-05-23 23:06:05
阅读次数:
258
#includeusing namespace std;class node{public:
node():value(0),next(NULL){} ~node(){} int value; node* next;};///be careful
this ;node* cr...
分类:
其他好文 时间:
2014-05-23 23:03:01
阅读次数:
301
#includeusing namespace std;class node{public:
node():value(0),next(NULL){} ~node(){} int value; node* next;};///be careful
this ;node* cr...
分类:
其他好文 时间:
2014-05-23 10:31:24
阅读次数:
240
#includeusing namespace std;class node{public:
node():value(0),next(NULL){} ~node(){} int value; node* next;};///be careful
this ;node* cr...
分类:
其他好文 时间:
2014-05-23 10:28:09
阅读次数:
250
#includeusing namespace std;class node{public:
node():value(0),next(NULL){} ~node(){} int value; node* next;};///be careful
this ;node* cr...
分类:
其他好文 时间:
2014-05-23 10:06:09
阅读次数:
247
chown递归更新文件所有者chown -cR --from=olduser:oldgroup
newuser:newgroup *chmod 777 *sudo chmod 775 * -Rchgrp root *sudo cp
/usr/share/zoneinfo/Europe/Paris /...
分类:
其他好文 时间:
2014-05-22 02:56:20
阅读次数:
205
1.删除短信的函数,一条一条的删除所有短信/* * Delete all SMS one by one
*/ public void deleteSMS() { try { ContentResolver CR = getContentResolver();...
分类:
移动开发 时间:
2014-05-22 01:45:15
阅读次数:
444
UNIX和DOS/Windows系统的纯文本格式的换行方式是不同的,基于DOS/Windows的文本文件在每一行末尾有一个CR(回车)和LF(换行),而UNIX文本只有一个换行。
如果想将一个Unix文本转换为Windows文本,可以使用如下的sed命令行
sed -e 's/$/\r/' myunix.txt > mywin.txt
在该脚本中,'$'规则表达式将与...
1. 需要引用的类库using System.Net;using System.IO;using
System.Text;using System.Text.RegularExpressions;2. 获取其他网站网页内容的关键代码WebRequest
request = WebRequest.Cr...
分类:
Web程序 时间:
2014-05-17 22:34:49
阅读次数:
423
先序遍历和中序遍历非递归代码:#include #include using
namespace std;typedef struct BinaryTree { int data; struct BinaryTree *rchild,
*lchild;}BinaryTree;int cr...
分类:
其他好文 时间:
2014-05-17 21:56:50
阅读次数:
264