码迷,mamicode.com
首页 >  
搜索关键字:while read line for ifs    ( 74720个结果
vbs 读取txt是读取特定的行
读取第三行的内容:Set fso = CreateObject("scripting.filesystemobject")path="A.TXT文件的路径"Set A=fso.OpenTextFile(path,1)For i=1 To 2A.ReadLineNextline=A.ReadLineM...
分类:其他好文   时间:2014-07-16 20:28:57    阅读次数:551
Lesson 7-8 What are you worried about?
by Nica 一 生词 1 result : something that is caused directly by something else that h...
分类:其他好文   时间:2014-07-16 20:26:49    阅读次数:187
Max Points on a line
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.思路:这道题主要是找出重叠结点和相同斜率之和。此时我们要判断有斜率和无斜率个数,并判断那个数量比较大,...
分类:其他好文   时间:2014-07-16 20:26:01    阅读次数:123
Bayesian
For the Bayesian linear regression, likelihood function is Gaussian, conjugate prior is Gaussian, we can get the posterior is also Gaussian.However, f...
分类:其他好文   时间:2014-07-16 20:08:48    阅读次数:164
io流的关闭顺序
一般情况:先打开的后关闭,后打开的先关闭; 另一种情况:看依赖关系,如果流a依赖流b,应该先关闭流a,再关闭流b。 FileWriter fw = new FileWriter( "E:/data//车站一次.csv",true);BufferedWriter bufw = new Buffered...
分类:其他好文   时间:2014-07-16 20:01:51    阅读次数:249
网页中图片的垂直居中对齐
相信很多前端开发人员都曾遇到过需要将图片设置为垂直居中对齐的经历,我刚好在之前的一个项目刚刚解决了这个问题,使用的方法非常简单,兼容性也很好。具体做法如下:1、只需要兼容各大现代浏览器:父元素{ display:teble-cell; width:Npx; height:Npx; verti...
分类:Web程序   时间:2014-07-16 19:55:26    阅读次数:169
Generating SSH Keys on windows
two ways here I provide:+ use openSSH command line on git bash(such as msysgit bash) + ls -al ~/.ssh + ssh-keygen -t rsa -C "phpgcs@qq.com" + e...
分类:Windows程序   时间:2014-07-16 19:54:04    阅读次数:255
【leetcode刷题笔记】Max Points on a Line
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.题解:思路比较简单,每条直线都可以表示为y=kx+b,所以对于任意三点,如果它们共线,那么它们中任意两点的...
分类:其他好文   时间:2014-07-14 10:02:12    阅读次数:187
需要看的文章
http://unity3d.9tech.cn/news/2013/1114/38624.htmlhttp://blog.csdn.net/gxq741718618gxq/article/details/8604828http://blog.csdn.net/chiuan/article/detai...
分类:其他好文   时间:2014-07-13 12:34:38    阅读次数:157
JavaScript里关于声明的一些重要概念
所有的全局变量都是window的属性,在函数体外定义的var a=1等价于window.a=1;所有的变量声明都在范围作用域的顶部,因为JS引擎首先会扫描所有的变量声明,然后将这些声明移动到顶部;变量声明被提前了,变量赋值却没有。当变量声明和变量赋值一起使用时,JS引擎会自动将它分为两部分,以便将变...
分类:编程语言   时间:2014-07-13 12:28:00    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!