过河的小兵

不积跬步,无以至千里;不积小流,无以成江海.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年3月26日

摘要: 1. strcpy代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1char*strcpy(char*strDest,constchar*strSrc);2{3assert((strDest!=NULL)&&(strSrc!=NUL... 阅读全文
posted @ 2010-03-26 15:29 过河的小兵 阅读(165) 评论(0) 推荐(0) 编辑

摘要: 1.冒泡排序代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1voidBubbleSort(intarr[],intlen)2{3for(intpass=1;pass<len;pass++)//一共比较len-1轮4{5for(inti=0;... 阅读全文
posted @ 2010-03-26 15:04 过河的小兵 阅读(251) 评论(0) 推荐(0) 编辑