http://blog.sina.com.cn/s/blog_4d276ac901011ee7.html——TCM项目所得一、看图说话1、基于套接字的TCP服务器/客户端程序流程2、TCP三次握手建立连接3、TCP四次交互断开连接4、TCP状态转移图这张图看不懂的话解释在计算机网络第四版P274。解...
                            
                            
                                分类:
其他好文   时间:
2015-03-13 18:37:18   
                                阅读次数:
193
                             
                    
                        
                            
                            
                                Convert Sorted List to Binary Search Tree问题:Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced B...
                            
                            
                                分类:
其他好文   时间:
2015-03-13 18:38:57   
                                阅读次数:
140
                             
                    
                        
                            
                            
                                我们大家知道无论哪种语言,字符串操作都是一个重要的基础,往往是简单而重要。PHP给我们提供了大量的字符串操作函数,功能强大,使用也比较简单,这里为大家总结九类字符串函数。1.查找字符位置函数strpos($str,search,[int]):查找search在$str中的第一次位置从int开始str...
                            
                            
                                分类:
Web程序   时间:
2015-03-13 18:37:35   
                                阅读次数:
131
                             
                    
                        
                            
                            
                                1、最古老的 //未处理public static final int PROCESS_STATUS_UNTREATED = 0;//已接收public static final int PROCESS_STATUS_ACCPECTED = 1;//已处理public static final in...
                            
                            
                                分类:
编程语言   时间:
2015-03-13 18:38:14   
                                阅读次数:
183
                             
                    
                        
                            
                            
                                public class ReflectTester { public Object copy(Object object) throws Exception { // 获得对象的类型 Class classType = object.getClass(); System.out.printl...
                            
                            
                                分类:
其他好文   时间:
2015-03-13 18:36:36   
                                阅读次数:
139
                             
                    
                        
                            
                            
                                转自http://blog.csdn.net/java2000_net/archive/2008/06/05/2512510.aspx我们先看2个类的定义[java] view plaincopypublicclassHashtableextendsDictionaryimplementsMap,C...
                            
                            
                                分类:
其他好文   时间:
2015-03-13 18:37:21   
                                阅读次数:
149
                             
                    
                        
                            
                            
                                一、相关jar包 一个空struts工程的jar包: 另上传文件的两个jar包:二、页面1、上传页面upload.jsp 1 3 4 5 6 7 Insert title here 8 9 10 11 12 13 14 15 注:a. form表单要有属性 enctype="mult...
                            
                            
                                分类:
Web程序   时间:
2015-03-13 18:36:53   
                                阅读次数:
213
                             
                    
                        
                            
                            
                                1001. A+B Format (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard 作者CHEN, YueCalculate a + b and output the sum in standard format -- that is, the ...
                            
                            
                                分类:
其他好文   时间:
2015-03-13 18:36:46   
                                阅读次数:
110
                             
                    
                        
                            
                            
                                题目大意:维护一棵树,支持查询两点间路径最大值,以及修改某边的权值。裸的树链剖分+线段树。。不多说这题卡常数卡的厉害啊!vector完全过不了然后。。我就写了我一点都不熟悉的普通邻接表。虽然代码丑,虽然依然很慢,虽然有点长,但是它至少A了。。 1 #include 2 #include 3 #...
                            
                            
                                分类:
其他好文   时间:
2015-03-13 18:36:53   
                                阅读次数:
233
                             
                    
                        
                            
                            
                                企业信息化(Enterprises informatization) 实质上是将企业的生产过程、物料移动、事务处理、现金流动、客户交互等业务过程数字化,通过各种信息系统网络加工生成新的信息资源,提供给各层次的人们洞悉、观察各类动态业务中的一切信息,以作出有利于生产要素组合优化的决策,使企业资源合理配...
                            
                            
                                分类:
其他好文   时间:
2015-03-13 18:36:39   
                                阅读次数:
134
                             
                    
                        
                            
                            
                                一、auto关键字的前世从C语言开始,auto关键字就被当作是一个变量的存储类型修饰符,表示自动变量(局部变量)。它不能被单独使用,否则编译器会给出警告。#include int main(){ int a = 123; auto int b = 234; ...
                            
                            
                                分类:
编程语言   时间:
2015-03-13 18:37:00   
                                阅读次数:
179
                             
                    
                        
                            
                            
                                看源码:Pull-to-Refresh.Rentals-Androidhttps://github.com/Yalantis/Pull-to-Refresh.Rentals-AndroidAndroid-PullToRefreshhttps://github.com/chrisbanes/Andro...
                            
                            
                                分类:
移动开发   时间:
2015-03-13 18:36:56   
                                阅读次数:
159
                             
                    
                        
                            
                            
                                一,最常见MYSQL最基本的分页方式:select * from content order by id desc limit 0, 10在中小数据量的情况下,这样的SQL足够用了,唯一需要注意的问题就是确保使用了索引。随着数据量的增加,页数会越来越多,查看后几页的SQL就可能类似:select *...
                            
                            
                                分类:
数据库   时间:
2015-03-13 18:35:00   
                                阅读次数:
212
                             
                    
                        
                            
                            
                                现在有一个ListView(lv1),有2列。ListViewItem lvi = new ListViewItem();lvi.Text = "语文";lvi.SubItems.Add("99");lvi.Items.Add(lvi);lvi = new ListViewItem();lvi.Te...
                            
                            
                         
                    
                        
                            
                            
                                [root@localhost Packages]# rpm -ivh httpd-2.4.6-17.el7.centos.1.x86_64.rpm警告:httpd-2.4.6-17.el7.centos.1.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID f...
                            
                            
                                分类:
Web程序   时间:
2015-03-13 18:34:04   
                                阅读次数:
812
                             
                    
                        
                            
                            
                                《Windows Azure Platform 系列文章目录》 在笔者之前的博客中Windows Azure Virtual Network (6) 设置Azure Virtual Machine固定公网IP (Virtual IP Address, VIP) (1),笔者介绍了如何在创建虚拟...
                            
                            
                                分类:
Windows程序   时间:
2015-03-13 18:36:13   
                                阅读次数:
1827