12 2014 档案

extjs PropertyGrid使用
摘要:var grid = new Ext.grid.PropertyGrid({ title: '属性表格', autoHeight: true, width: 300, renderTo: Ext.getBody(), viewCondig: { forceFit: true }, ... 阅读全文

posted @ 2014-12-12 15:36 嘘寒问暖 阅读(622) 评论(0) 推荐(0)

extjs Date的使用
摘要:转载!!!Ext.Date是一个单例类,封装了一系列日期操作函数,扩展JavaScript Date的功能,下面列出一些常用的功能。Ext.Date.add(date, interval, value) 给date增加或减少时间,这个函数不改变原有Date对象的值,而是返回一个新的Date对象。Ex... 阅读全文

posted @ 2014-12-09 16:30 嘘寒问暖 阅读(2327) 评论(0) 推荐(0)

c语言 金字塔
摘要:#include int main(){int n;int i,j;printf("输入金字塔层数:"); scanf("%d",&n);for(i=1;i=1;--j)printf(" %d", j);printf("\n");}return 0;} 阅读全文

posted @ 2014-12-08 11:12 嘘寒问暖 阅读(1132) 评论(0) 推荐(0)

c语言 结构体动态创建
摘要:1 #include 2 #include 3 struct Student 4 { 5 int num; //学号 6 int total; //总分 7 char name[20]; //姓名 8 float score[3]; //3个课目的分数 9 };1... 阅读全文

posted @ 2014-12-02 12:32 嘘寒问暖 阅读(9199) 评论(0) 推荐(0)

c语言 链表使用示例
摘要:1 #include 2 #include 3 #include 4 typedef struct list{ 5 struct list *next; 6 char name[30];//用户名称 7 char addr[50];//地址 8 ch... 阅读全文

posted @ 2014-12-01 09:33 嘘寒问暖 阅读(4999) 评论(0) 推荐(3)

导航