摘要: 1:乃波:http://blog.csdn.net/lnb3336662:国涛:http://blog.sina.com.cn/u/17936554373:乡下鱼(图形系列):http://blog.sina.com.cn/s/blog_5e71b14f0100c75g.html 阅读全文
posted @ 2012-07-30 20:13 ligang305 阅读(96) 评论(0) 推荐(0)
摘要: http://momoch1314.iteye.com/blog/540613 阅读全文
posted @ 2012-07-30 17:41 ligang305 阅读(260) 评论(0) 推荐(0)
摘要: 引自http://blog.sina.com.cn/s/blog_4b359d2d010097bi.html一,公钥私钥 1,公钥和私钥成对出现 2,公开的密钥叫公钥,只有自己知道的叫私钥 3,用公钥加密的数据只有对应的私钥可以解密 4,用私钥加密的数据只有对应的公钥可以解密 5,如果可以用公钥解密,则必然是对应的私钥加的密 6,如果可以用私钥解密,则必然是对应的公钥加的密 明白了? 假设一下,我找了两个数字,一个是1,一个是2。我喜欢2这个数字,就保留起来,不告诉你们,然后我告诉大家,1是我的公钥。 我有一个文件,不能让别人看,我就用1加密了。别人找到了这个文件,但是他不知道2就是解密的私钥 阅读全文
posted @ 2012-07-30 17:38 ligang305 阅读(2630) 评论(2) 推荐(1)
摘要: Citrix Receiver for Android率先亮相作者:小丢丢出处:IT专家网2009-07-31 10:53为新一代移动设备交付Windows应用程序.在Citrix iForum大会上,思杰展示了面向Android移动设备的Citrix Receiver 北京,2009年7月31日——在本周举办的Citrix iForum新加坡大会上,思杰系统(Citrix System)公司(纳斯达克股票代码:CTXS)展示了初期版本的面向Android手机的 Citrix® Receiver™。现在,只需从苹果App Store下载一个轻便的客户端,身处任何地方的iPhone用户 阅读全文
posted @ 2012-07-30 16:23 ligang305 阅读(434) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<stdlib.h>int main(void){ int c; c = factorial(5); printf("the res is: %d\n",c); system("pause"); //return 0;}int factorial(int a){ int res; if(a<0){ printf("error\n"); system("pause"); exit(EXIT_FAILURE); } if(a==1||a== 阅读全文
posted @ 2012-07-29 15:15 ligang305 阅读(147) 评论(0) 推荐(0)
摘要: http://jingyan.baidu.com/article/fec7a1e53efe621190b4e7ae.html 阅读全文
posted @ 2012-07-29 14:27 ligang305 阅读(114) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<stdlib.h>#include<math.h>#include<time.h>#include<string.h>int main(void){ /*int a = 0; char a[2][4] = {{'a','b','c','d'},{'d','c','w','y'}}; a = strcmp(a[0],a[1]);*/ char a[3][20] 阅读全文
posted @ 2012-07-28 11:35 ligang305 阅读(746) 评论(0) 推荐(0)
摘要: 数据库的操作 ()自定义一个 class DBOpenHelper extends SQLiteOpenHelper1. 生成 DBOponeHelper 的构造方法 4个参数 上下文 ,数据库名,游标工厂, 数据库版本号(context, "blacknumber.db", null, 1);2. 重写 onCreate 方法 创建数据库的表. Db.execSQL();约定 根据sqlite的标准 最好把组件的名字设置为_idCursorAdpater "_id" notfound exception3. onUpgrade 帮助更新数据库的表(Bl 阅读全文
posted @ 2012-07-25 17:25 ligang305 阅读(714) 评论(0) 推荐(0)
摘要: package cn.itcast.mobilesafe.service;import java.io.File;import android.app.ProgressDialog;import android.database.Cursor;import android.database.sqlite.SQLiteDatabase;import android.os.Environment;import cn.itcast.mobilesafe.util.DownLoadManager;/* * 提供方法, 查询某个号码所对应的归属地 * 1. 要把数据库 引入到程序里 * assets.. 阅读全文
posted @ 2012-07-24 19:25 ligang305 阅读(2441) 评论(0) 推荐(0)
摘要: Bundle bundle = new Bundle();bundle.putSerializable("puds",new Object("需实现serializable接口")); 阅读全文
posted @ 2012-07-24 18:48 ligang305 阅读(853) 评论(0) 推荐(1)