由项目需要,需要扫描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)
http://www.ximalaya.com/40825760/sound/12939567#0-qzone-1-57623-d020d2d2a4e8d1a374a433f596ad1440 Read More
posted @ 2016-10-11 22:39 findumars Views(239) Comments(0) Diggs(0)
从 C++ 到 Qt 转载自:http://hi.baidu.com/cyclone/blog/item/8f8f08fa52d22f8758ee9006.html Qt 是 C++ 的库,Qt在ansi C++ 的基础上进行了一点扩展。 但国内似乎比较浮躁,学Qt的很多连基本的C++如何编译似乎都 Read More
posted @ 2016-10-11 17:26 findumars Views(377) Comments(0) Diggs(0)