2015年4月27日

引用专题

摘要: 引用&在C语言中常用于取地址。而在C++中,引用&除了可以取地址外,常作为变量的别名。1 int main()2 {3 int a = 0;4 int &b = a; //C语言不能这样用5 int * const p_b = &a;6 ... 阅读全文

posted @ 2015-04-27 22:54 Ethan_Zpy 阅读(108) 评论(0) 推荐(0)

内存四区

摘要: 内存四区分配图:---------------------| 堆区 |---------------------| 栈区 |---------------------| 全局区 |---------------------| 代码区 | ---------... 阅读全文

posted @ 2015-04-27 22:07 Ethan_Zpy 阅读(125) 评论(0) 推荐(0)

2015年4月23日

学习正则表达式

摘要: 学习正则表达式网址:http://www.jb51.net/tools/zhengze.html根据字符串逆向出正则表达式在线网址:http://www.txt2re.com/index-java.php3练习过程:匹配目标:(010)88886666和022-22334455使用正则表达式:\(?... 阅读全文

posted @ 2015-04-23 20:46 Ethan_Zpy 阅读(94) 评论(0) 推荐(0)

导航