- 博客(4)
- 资源 (2)
- 问答 (2)
- 收藏
- 关注
转载 car、cdr、cons的来历
Lisp中car,cdr和cons都是基础函数。cons用于构造lists,car和cdr用于分割lisp。 奇怪的命名cons函数的名称并非没有含意:它是单词'construct'的缩写。car是短语'Contents of the Address part of the Register';cdr('could-er')是短语'Contents of the Decrement p
2012-03-31 09:37:33 2929
原创 Scheme 和 ZOJ
今天尝试使用Scheme来解决ZOJ上的问题,花费了好些时间才通过1001的测试,记下来做个纪念 (define is-loop #t)(define (print) (let ((x (read)) (y (read))) (if (and (not (eof-object? x)) (not (eof-object? y))) (
2012-03-23 14:37:00 708
原创 多线程操作GridView时出现索引被破坏的问题
msdn上如下解释:volatile 关键字用于通知编译器,将有多个线程访问 _shouldStop 数据成员,因此它不应当对此成员的状态做任何优化假设。有关更多信息,请参见volatile(C# 参考)。通过将 volatile 与 _shouldStop 数据成员一起使用,可以从多个线程安全地访问此成员,而不需要使用正式的线程同步技术,但这仅仅是因为 _shouldSt
2012-03-22 09:41:13 928
原创 解决下载网页乱码的方法
之前看到有很多朋友在下载网页的时候会出现乱码的问题,也有很多朋友提出了解决方案,但是觉得都不是很正规,比如很常见的使用正则表达式抓取的那个方法.其实我们可以使用WenRequest和reponse的方法来实现.代码如下:private static string DownloadHtml(string url){ string content = string.Empty;
2012-03-09 14:57:32 2962
DDU - Display Driver Uninstaller
2017-12-02
depends22_x64
2017-12-02
java数独问题
2009-12-26
整型二维数组赋值给多个textfield
2009-12-19
TA创建的收藏夹 TA关注的收藏夹
TA关注的人