自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 253

原创 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 985

转载 创业者常犯的十错,你占了几个?

    “创业”的字典解释为:创业是是指某个人发现某种信息、资源、机会或掌握某种技术,利用或借用相应的平台或载体,将其发现的信息、资源、机会或掌握的技术,以一定的方式,转化、创造成更多的财富、价值,并实现某种追求或目标的过程。那么对于有创业理想的人们最常犯的错误有哪些呢?一名风险投资人做出了总结,总共十条。错误一:懂得的知识比认识的人重要你一直都拒绝否认这一点。从小到大,你都相

2010-02-18 21:40:00 473

原创 设计模式之策略模式 ——整理自《HeadFirst设计模式》等

HeadFirst使用模式最好的方法是:“把模型装进脑子里,然后在你的设计和已有应用中,寻找何处可以使用它们。”以往是代码复用,现在是经验复用。 1.       不加思考的在基类中加上某一方法会导致所有继承此基类的派生类中都具有此方法的统一实现方式。第一种解决方法是在派生类中对基类的这一方法进行覆盖重载转化,然而这种方式会导致软件后期维护繁琐,因为要检查所有可能被覆盖的方法。第二种解决方

2009-07-31 22:14:00 351

C_C++ AppDev_on_AIX

This IBM Redbook is intended to help experienced UNIX application developers who are new to the AIX operating system. The book explains, in detail, the features of the AIX operating system and IBM compilers that are most often misunderstood by developers, primarily C++ templates and the creation and use of shared libraries and shared memory segments. In addition to discussing the topics that can sometimes prove troublesome, this book explores some of the features of AIX for measuring and improving application performance, such as profiling and threading, along with memory facilities. This book contains a brief history of the different IBM C and C++ compiler products that are available for AIX, along with installation, configuration, and co-existence tips.

2011-03-26

网络对战版五子棋【作者:葛宏超 QQ:120944345 】

网络对战版五子棋 基于MFC、Socket网络套接字、UDP协议通讯技术实现。 【作者:葛宏超 QQ:120944345 E-mail:gehongchao0422@163.com】

2009-11-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除