- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 排序算法
一、冒泡排序#include #define SWAP(x, y) x ^= y; y ^= x; x ^= y;int main(){ int arr[] = {6,5,4,7,8,3,2,9,0,1}; int ilen = sizeof(arr)/sizeof(int); int i,j; for(i=0; i<ilen; ++i) { for(j=0; j<il
2012-02-13 19:55:48 263
原创 IP正则 与 E-mail正则 详解
IP地址:正则表达式匹配 (例如:172.254.17.213)((2[0-4]\d|25[0-5]|[01]?\d\d?)\.){3}(2[0-4]\d|25[0-5]|[01]?\d\d?) 1. [01]?\d\d? 此句是匹配以0 或 1 或 ‘无
2011-07-23 19:39:00 1000
转载 创业者常犯的十错,你占了几个?
“创业”的字典解释为:创业是是指某个人发现某种信息、资源、机会或掌握某种技术,利用或借用相应的平台或载体,将其发现的信息、资源、机会或掌握的技术,以一定的方式,转化、创造成更多的财富、价值,并实现某种追求或目标的过程。那么对于有创业理想的人们最常犯的错误有哪些呢?一名风险投资人做出了总结,总共十条。错误一:懂得的知识比认识的人重要你一直都拒绝否认这一点。从小到大,你都相
2010-02-18 21:40:00 520
原创 设计模式之策略模式 ——整理自《HeadFirst设计模式》等
HeadFirst使用模式最好的方法是:“把模型装进脑子里,然后在你的设计和已有应用中,寻找何处可以使用它们。”以往是代码复用,现在是经验复用。 1. 不加思考的在基类中加上某一方法会导致所有继承此基类的派生类中都具有此方法的统一实现方式。第一种解决方法是在派生类中对基类的这一方法进行覆盖重载转化,然而这种方式会导致软件后期维护繁琐,因为要检查所有可能被覆盖的方法。第二种解决方
2009-07-31 22:14:00 362
C_C++ AppDev_on_AIX
2011-03-26
网络对战版五子棋【作者:葛宏超 QQ:120944345 】
2009-11-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人