由项目需要,需要扫描1200万行的文本文件。经网友的指点与测试,发现C#与Delphi之间的差距并不大。不多说,列代码测试: 下面是Delphi的代码: //遍历文件查找回车出现的次数function ScanEnterFile(const FileName:string):TInt64Array; Read More
posted @ 2016-10-12 00:35
findumars
Views(1280)
Comments(0)
Diggs(0)
http://www.cnblogs.com/kfarvid/archive/2009/10/19/1586229.html Read More
posted @ 2016-10-12 00:33
findumars
Views(1914)
Comments(0)
Diggs(0)
先来说一下我如何写我的Dll文件的。 先看代码: 代码中都有注释了,这个不多说了,说一下Login的过程,我这里是直接传递对象指针进来。这个对象的定义在下面的代码中: 这样做的好处是不用那么多参数出现,也方便动态的调用方式。 还有一个不太重要的单元: 下面是这个登录传递的源码: 全部都出来了,我说下 Read More
posted @ 2016-10-12 00:31
findumars
Views(1741)
Comments(0)
Diggs(1)