上一页 1 ··· 119 120 121 122 123 124 125 126 127 ··· 152 下一页
摘要: unsigned char 是无符号字符型 volatile 易变,易失的 volatile unsigned char i; 意思是定义一个无符号字符型的变量 i。 这个变量存放在内存中,要用的时候须要从内存中取出。 一般的逻辑是“准备用变量 去相应的内存地址取变量 用变量”,而如今编译器编介入后 阅读全文
posted @ 2017-05-12 16:18 cxchanpin 阅读(611) 评论(0) 推荐(0)
摘要: 近期在朋友圈,朋友转了一个html小游戏【壹秒】,游戏的规则是:用户按住button然后释放,看谁能精准地保持一秒的时间。^_^刚好刚才在linuxserver上调试程序的时候server挂了,腾出点时间分享下前天自己做的这个小游戏。 话不多说,直接上图: 呐,作为一个对android无比热爱的小伙 阅读全文
posted @ 2017-05-12 15:45 cxchanpin 阅读(315) 评论(0) 推荐(0)
摘要: #include<iostream> #include<memory.h> using namespace std; int dp[10010]; int max(int a,int b) { return a>b?a:b; } int main() { int n,v,vi[10100],wi[1 阅读全文
posted @ 2017-05-12 14:59 cxchanpin 阅读(169) 评论(0) 推荐(0)
摘要: CMake - boost 最后更新日期:2014-04-25by kagula 阅读前提:《CMake入门(二)》、Linux的基本操作 环境: Windows 8.1 64bit英文版。Visual Studio 203 Update1英文版。CMake 2.8.12.2、 Cent OS 6. 阅读全文
posted @ 2017-05-12 13:24 cxchanpin 阅读(913) 评论(0) 推荐(0)
摘要:  IoC,Inversion Of Control 即控制反转,由容器来管理业务对象之间的依赖关系,而非传统方式中的由代码来管理。 其本质。即将控制权由应用程序代码转到了外部容器,控制权的转移就是所谓的反转,其带来的最大的优点是减少了业务对象之间的依赖程度,即实现了解耦。 Spring的IoC容 阅读全文
posted @ 2017-05-12 11:57 cxchanpin 阅读(197) 评论(0) 推荐(0)
摘要: 周六周日写了些查询的窗口,感觉没什么新奇的东西,都是一堆select,后来写的到了注冊,上下机等,在一个方法里面,包括了多个增删改查的过程。可能上一个訪问数据库的过程返回的结果又是下一个訪问数据库读取数据的參数。也就是说,这些对数据库的增删改查是一个连贯的动作,比方。注冊一个学生的时候。涉及到注冊金 阅读全文
posted @ 2017-05-12 10:54 cxchanpin 阅读(167) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <UpdCfg> <Upgrade> <VERSION>6.0</VERSION> <UpdInfo>--0.0--</UpdInfo> </Upgrade> <Upgrade> <VERSION>8.0</VERSION 阅读全文
posted @ 2017-05-12 09:18 cxchanpin 阅读(164) 评论(0) 推荐(0)
摘要: 微软的IE9 + Extjs3.1 确实头疼。在使用了line-height:20px 的Tree的样式,可是一直没有生效, 以下给出3中解决方式: 方案1、加padding-top: <div style="height:22px;line-height:22px; padding-top:3px 阅读全文
posted @ 2017-05-12 08:19 cxchanpin 阅读(454) 评论(0) 推荐(0)
摘要: 文章目的介绍在.NET中取得代码行数的方法代码[STAThread] static void Main(string[] args) { ReportError("Yay!"); } static private void ReportError(string Message) { StackFra 阅读全文
posted @ 2017-05-11 21:48 cxchanpin 阅读(428) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; void fun1(int &x,int &y); void fun2(int *x,int *y); int main() { int a,b; a=11; b=22; fun2(&a,&b); cout<<"a=" 阅读全文
posted @ 2017-05-11 20:47 cxchanpin 阅读(147) 评论(0) 推荐(0)
上一页 1 ··· 119 120 121 122 123 124 125 126 127 ··· 152 下一页