上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: const fs = require('fs'); let readerStream = fs.createReadStream('input.txt'); let writerStream = fs.createWriteStream('output.txt') readerStream.pipe(writerStream); 阅读全文
posted @ 2019-03-05 10:19 liliyou 阅读(125) 评论(0) 推荐(0) 编辑
摘要: buffer与对象,数组的互转,字符串作为中间变量 阅读全文
posted @ 2019-03-05 09:58 liliyou 阅读(79) 评论(0) 推荐(0) 编辑
摘要: let fs=require('fs'); fs.readFile('input.txt',function(err,data){ if(err){ console.error(err); }else{ console.log(data.toString()); } }); let app={a:' 阅读全文
posted @ 2019-03-03 16:32 liliyou 阅读(71) 评论(0) 推荐(0) 编辑
摘要: echo date('l')."\n"; //获取星期天数 echo time();//获取当前时间的时间戳 echo date('d')."\n";//获取日期 echo date('m')."\n";//获取月份 echo date('Y')."\n";//获取年份1 1echo date('l')."\n"; //获取星期天数2echo time();//获取当前时间的时间戳3echo da... 阅读全文
posted @ 2019-02-19 15:09 liliyou 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 构造函数 阅读全文
posted @ 2019-02-15 09:32 liliyou 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 1.foreach循环 2.for循环 阅读全文
posted @ 2019-02-15 09:30 liliyou 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 1.返回值类型 51.有一个函数原型如下所示,则该函数的返回类型为( ) 。 C abc(float x,float y); A. void B. double C. int D. float <!--more--> 3 1 51.有一个函数原型如下所示,则该函数的返回类型为( ) 。 C 2 ab 阅读全文
posted @ 2019-01-08 17:26 liliyou 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 25.有如下程序 main() { int i,sum; for(i=1;i<=3;sum++) sum+=i; printf("%d\n",sum); } 该程序的执行结果是___C___。 A、6 B、3 C、死循环 D、0 1 25.有如下程序 2 main() 3 { 4 int i,sum 阅读全文
posted @ 2018-12-28 19:55 liliyou 阅读(334) 评论(0) 推荐(0) 编辑
摘要: printf("%d\n", !0); <!--more--> 1 1 printf("%d\n", !0); <!--more--> 1 1 printf("%d\n", !0); <!--more--> 1 1 printf("%d\n", !0); 1 1 printf("%d\n", !0) 阅读全文
posted @ 2018-12-28 19:39 liliyou 阅读(835) 评论(0) 推荐(0) 编辑
摘要: char a='a'; a++; printf("%d\n",a);//98 x 1 char a='a'; 2 a++; 3 printf("%d\n",a);//98 x 1 char a='a'; 2 a++; 3 printf("%d\n",a);//98 x 1 char a='a'; 2 阅读全文
posted @ 2018-12-22 17:40 liliyou 阅读(152) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页