码迷,mamicode.com
首页 >  
搜索关键字:cr    ( 859个结果
找到链表的倒数第K位
#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,chmod,chgrp,改变时区用法
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
Android 删除短信
1.删除短信的函数,一条一条的删除所有短信/* * Delete all SMS one by one */ public void deleteSMS() { try { ContentResolver CR = getContentResolver();...
分类:移动开发   时间:2014-05-22 01:45:15    阅读次数:444
57 利用sed处理windows和Unix文档中的行结束符
UNIX和DOS/Windows系统的纯文本格式的换行方式是不同的,基于DOS/Windows的文本文件在每一行末尾有一个CR(回车)和LF(换行),而UNIX文本只有一个换行。 如果想将一个Unix文本转换为Windows文本,可以使用如下的sed命令行 sed -e 's/$/\r/' myunix.txt > mywin.txt 在该脚本中,'$'规则表达式将与...
分类:Windows程序   时间:2014-05-18 05:11:41    阅读次数:432
asp.net如何抓取其他网站的内容
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
859条   上一页 1 ... 83 84 85 86 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!