学无止境

——把简单的知识用好,也把东西做的简单

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

2011年2月12日

摘要: php写起来不太好,算法还是用C或C++写起来方便些:#include <stdio.h>#include <stdlib.h>void out_put(int start,int end,int cur){ int i = start; for(;i<=end;i++){ if(i==cur) printf("* "); else printf("%d ",i); }}void navi(int cur,int page){ int show=9, hf=show/2; if(cur!=1) printf("Pr 阅读全文
posted @ 2011-02-12 00:24 JaiHo 阅读(604) 评论(0) 推荐(2) 编辑