2012年10月7日

摘要: 最近常上的两个网站崩了。好吧,估计是说俺年龄到了,不用上了。。。 阅读全文
posted @ 2012-10-07 18:39 Panderen 阅读(176) 评论(0) 推荐(0) 编辑

2012年10月2日

摘要: 56视频网除了广告都看不了了。太郁闷了,以前一直都以为它不怎么卡才主要看的。难道是学校网络出问题了。不解,以后慢慢探讨! 阅读全文
posted @ 2012-10-02 17:20 Panderen 阅读(234) 评论(0) 推荐(0) 编辑

2012年9月23日

摘要: 关于sql语句中的连接(join)关键字,是较为常用而又不太容易理解的关键字,下面这个例子给出了一个简单的解释,相信会对你有所启示。--建表table1,table2:create table table1(id int,name varchar(10))create table table2(id int,score int)insert into table1 select 1,'lee'insert into table1 select 2,'zhang'insert into table1 select 4,'wang'insert in 阅读全文
posted @ 2012-09-23 14:22 Panderen 阅读(185) 评论(0) 推荐(0) 编辑

2012年7月20日

摘要: 今天,在win7下安装了Cygwin并安装了openssh, 在cygwin下配置并启动sshd,启动成功,但是(ssh localhost)连接时出现:ssh_exchange_identification: Connection closed by remote host试着访问 ssh 127.0.0.1 也不行,但是访问主机名可以--- ssh 主机名分析:在/etc/下发现一文件:hosts$ vi hosts ---------打开内容如下:仔细一看,和 C:/Windows/System32/drivers/etc/中的hosts 文件一摸一样这个文件在win7下 被我修改过 , 阅读全文
posted @ 2012-07-20 17:47 Panderen 阅读(781) 评论(0) 推荐(0) 编辑
摘要: 来源:http://mushme.iteye.com/blog/896987昨天改东西的时候,修改的内容总是不能生效,耗了很长时间,才发现时myeclipse不能编译java文件了,查到以下解决方案,原来是buildpath里引用了一个不存在的文件夹,删除了就OK了 第一.菜单project-clean一下试试. clean后会自动编译. 第二.手动删除classes文件夹下所有class文件,然后选择自动编译(project-Build Automatically) 观察是一个包不编译,还是所有包都不编译. 第三.右键项目- buildpath-source ,看看源目录是不是src.然后看 阅读全文
posted @ 2012-07-20 15:22 Panderen 阅读(705) 评论(0) 推荐(0) 编辑

2012年5月17日

摘要: 来源:http://www.hackbase.com/tech/2005-07-21/27153.html在面向对象的语言里面,出现了类的概念。这是编程思想的一种进化。所谓类:是对特定数据的特定操作的集合体。所以说类包含了两个范畴:数据和操作。而C语言中的struct仅仅是数据的集合。(liyuming1978@163.com)1.实例:下面先从一个小例子看起#ifndef C_Class #define C_Class struct#endifC_Class A { C_Class A *A_this; void (*Foo)(C_Class A *A_this); int a; int b 阅读全文
posted @ 2012-05-17 22:26 Panderen 阅读(212) 评论(0) 推荐(0) 编辑

2012年4月26日

摘要: 1 import java.util.Scanner; 2 3 public class BinaryCode { 4 5 public String[] decode(String message){ 6 String[] original = new String[2]; 7 StringBuffer s1=new StringBuffer(); 8 StringBuffer s2=new StringBuffer(); 9 10 int flag1=0,flag2=0;11 ... 阅读全文
posted @ 2012-04-26 09:34 Panderen 阅读(226) 评论(0) 推荐(0) 编辑

2012年4月18日

摘要: 1 import java.util.Comparator; 2 3 public class PinYinComparator implements Comparator { 4 5 public int compare(Object o1, Object o2) { 6 try { 7 String s1=new String(o1.toString().getByte... 阅读全文
posted @ 2012-04-18 11:29 Panderen 阅读(1136) 评论(0) 推荐(0) 编辑

2012年4月11日

摘要: DescriptionA checksum is an algorithm that scans a packet of data and returns a single number. The idea is that if the packet is changed, the checksum will also change, so checksums are often used for detecting transmission errors, validating document contents, and in many other situations where it 阅读全文
posted @ 2012-04-11 23:30 Panderen 阅读(256) 评论(0) 推荐(0) 编辑
摘要: DescriptionLittle Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters in the nodes.This is an example of one of her creations: D ... 阅读全文
posted @ 2012-04-11 22:52 Panderen 阅读(210) 评论(0) 推荐(0) 编辑

导航