06 2011 档案

摘要:1.串 str.h//str.h #ifndef_STR_H #define_STR_H typedefstruct { char*ch; intlen; }STR; STR*NewStr(char*str); voidDestroyStr(STR*s); voidClearStr(STR*s); intStrCompare(STR*s,STR*t); intStrCancat(STR*s,STR*t); STR*SubStr(ST... 阅读全文
posted @ 2011-06-27 08:44 维唯为为 阅读(310) 评论(0) 推荐(0) 编辑
摘要:1.栈 stack.h//stack.h #ifndef_STACK_H #define_STACK_H #include"stack.h" #include"data.h" #defineElemTypeTREE* #defineSTACK_INIT_SIZE10 #defineSTACK_INCREME10 typedefstruct { ElemType*base; ElemType*top; intsize; }STACK; ... 阅读全文
posted @ 2011-06-27 08:32 维唯为为 阅读(247) 评论(0) 推荐(0) 编辑
摘要:RSS 地址例如,你的博客在新浪上,地址是http://blog.sina.com.cn/luowei010101 那么你的博客的RSS源就是http://blog.sina.com.cn/rss/luowei010101.xml 。简单的说就是在你的博客URL后面添加一个.xml的后缀。 而如果您用的是百度博客,地址是http://hi.baidu.com/luowei010101 ,那么,您的RSS源是:http://hi.baidu.com/luowei010101/rss 由于每个博客的RSS源地址与所在的网站有关,不同的网站的RSS源不同,最通用的方法是:在博客的右下方有一个黄色的R 阅读全文
posted @ 2011-06-12 23:35 维唯为为 阅读(815) 评论(0) 推荐(0) 编辑
摘要:http://ping.baidu.com/ping/RPC2http://blogsearch.google.com/ping/RPC2http://rpc.pingomatic.com/http://api.my.yahoo.com/RPC2http://ping.feedburner.com/http://www.feedsky.com/api/rpc2http://rpc.weblogs.com/RPC2http://rpc.pingomatic.com/http://blogsearch.google.com/ping/RPC2http://blog.iask.com/RPC2htt 阅读全文
posted @ 2011-06-12 21:28 维唯为为 阅读(887) 评论(0) 推荐(0) 编辑
摘要:1.线性表 文件结构 list.h//list.h #ifndef_LIST_H #define_LIST_H//条件编译语句 #defineLIST_INIT_SIZE10//线性表初始大小 #defineLIST_INCREMENT10//递增大小 typedefstruct { ElemType*elem;//线性表首地址 intlength;//线性表当前使用长度 intsize;//线性表当前最大长度 ... 阅读全文
posted @ 2011-06-12 14:42 维唯为为 阅读(266) 评论(0) 推荐(0) 编辑
摘要:文件结构 泛型与异常泛型异常Class7b / com.test1 / Test.java /* *功能:泛型的必要性 */packagecom.test1; importjava.util.ArrayList; publicclassTest{ /** *@paramargs */publicstaticvoidmain(String[]args){ //泛型 //System.out.println("a="+(1>>>2)); ArrayList<Dog>al=newArrayList<Dog>();//将ArrayList转 阅读全文
posted @ 2011-06-07 17:15 维唯为为 阅读(525) 评论(0) 推荐(0) 编辑
摘要:文件结构数组 Class5 / com.test1 / Demo5_1.java: /* *功能:数组的必要性 */packagecom.test1; publicclassDemo5_1{ /** *@paramargs */publicstaticvoidmain(String[]args) { //定义一个可以存放六个float类型的数组 float[]arr=newfloat[6]; //给数组的各个元数赋值 arr[0]=3; arr[1]=5; arr[2]=1; arr[3]=3.4f; arr[4]=2; arr[5]=50; //算总体重 floatall=0; fo... 阅读全文
posted @ 2011-06-07 16:44 维唯为为 阅读(930) 评论(0) 推荐(0) 编辑
摘要:文件结构Java访问修饰符com.xiaoming / XiaoMing.java:packagecom.xiaoming; importjava.util.*; importcom.xiaoqiang.*; publicclassXiaoMing{ /** *@paramargs */publicstaticvoidmain(String[]args){ //TODOAuto-generatedmethodstub HashMaphm=newHashMap(); Catcat1=newCat(); System.out.println(cat1.getName()); } } classDo 阅读全文
posted @ 2011-06-07 14:58 维唯为为 阅读(1298) 评论(0) 推荐(0) 编辑
摘要:1. WinForm基础 Form1.csusingSystem; usingSystem.Collections.Generic; usingSystem.ComponentModel; usingSystem.Data; usingSystem.Drawing; usingSystem.Linq; usingSystem.Text; usingSystem.Windows.Forms; namespaceWinsForm基础 { publicpartialclassForm1:Form { publicForm1() { InitializeComponent(); } private.. 阅读全文
posted @ 2011-06-07 11:30 维唯为为 阅读(753) 评论(0) 推荐(0) 编辑