上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 43 下一页
摘要: 1、非空区别指针可赋空值NULL而引用不允许2、合法性区别使用引用不需要测试其合法性,而指针则应该始终被测试,防止其为空3、可修改区别指针可被重新赋值以指向另一个对象,引用只能指向初始化时被指定的对象4、应用区别指针应用于以下情况1)存在不指向任何对象的可能2)需要在不同时刻指向不同对象引用应用于以... 阅读全文
posted @ 2015-01-09 09:39 阿青1987 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 用于解决提示信息速度慢问题Window->preferences->java->editor->Content Assistchange the content in "Auto activation triggers for Java" as below:.abcdefghijklmnopqrst... 阅读全文
posted @ 2015-01-09 09:34 阿青1987 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Step_1:Help->Install New Software -> Work with: http://eclipse-color-theme.github.com/update-> OK Step_2:restart EclipseStep_3:Window->Preferences->ge... 阅读全文
posted @ 2015-01-09 09:33 阿青1987 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 国内的git 托管平台,git.oschina.net算是比较成熟的。关键是要比github速度快一些,建一些私有项目免费。 阅读全文
posted @ 2015-01-09 09:31 阿青1987 阅读(166) 评论(0) 推荐(0) 编辑
摘要: {功能描述}可以用于分析下载文件的SHA1值与网上提供的SHA1值是否相等。{代码实现}package sup.orange.learn;import java.io.FileInputStream;import java.io.IOException;import java.security.Me... 阅读全文
posted @ 2015-01-09 09:25 阿青1987 阅读(449) 评论(0) 推荐(0) 编辑
摘要: {测试结果}对字符串 Hello, World!求SHA1,结果为:0a0a9f2a6772942557ab5355d76af442f8f65e01{测试代码}package sup.orange.learn;import java.security.MessageDigest;import jav... 阅读全文
posted @ 2015-01-09 09:24 阿青1987 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 在看《Pro git 2》时,有这么一段话: The mechanism that Git uses for this checksumming is called a SHA-1 hash. This is a 40-character string composed of hexadecimal... 阅读全文
posted @ 2015-01-09 09:22 阿青1987 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 曲则全,枉则直,洼则盈, 敝则新,少则多,多则惑。是以圣人抱一而为天下式。不自见,故明;不自恃,故彰;不自伐,故有功;不自矜,故长。夫惟不争,故天下莫能与之争。古之所谓曲则全者,岂虚言哉?诚全而归之。 阅读全文
posted @ 2015-01-09 09:21 阿青1987 阅读(225) 评论(0) 推荐(0) 编辑
摘要: [安装]$ sudo apt-get install supertux[效果图] 阅读全文
posted @ 2015-01-08 14:32 阿青1987 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 1、输出以代码结果#include using namespace std;class A {};class A2 {};class B : public A {};class C : public A, public A2 {};class D : public virtual B {};int ... 阅读全文
posted @ 2015-01-08 14:03 阿青1987 阅读(440) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 43 下一页