上一页 1 ··· 9 10 11 12 13
  2015年6月14日
摘要: 1 package h14; 2 3 public class Demo { 4 5 /** 6 * @param args 7 */ 8 public static void main(String[] args) { 9 // TODO ... 阅读全文
posted @ 2015-06-14 00:32 编世界 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: 1 package h15; 2 3 import java.io.*; 4 5 6 public class demo2 { 7 8 /** 9 * @param args10 */11 public static void main(String[]... 阅读全文
posted @ 2015-06-14 00:19 编世界 阅读(453) 评论(0) 推荐(0) 编辑
  2013年8月3日
摘要: #include#include#include#include#include#includevoid catfile(int fd){ while(1) { char buf[1024]={}; if(!read(fd,buf,sizeof(buf))) break; printf("%s",buf); }}void catdir(DIR* dir){ struct dirent* ent=NULL; while(ent=readdir(dir)) { printf("%d\t... 阅读全文
posted @ 2013-08-03 16:49 编世界 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 1 #include int isPrime(int a) { if(a==1) return 0; int i=0; for(i=2;i<a;i++) { if(a%i==0) return 0; } return 1; } int main() { int i; for(i=1;i<=1000-... 阅读全文
posted @ 2013-08-03 15:20 编世界 阅读(192) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13