偶只會一些編程的三腳貓功夫。
· Delphi的JSON库 - DJSON- JSONTokener(下)
· Delphi的JSON库 - DJSON- JSONTokener(上)
2009-6-24 17:15:22 阅读(205) 评论(0)
作者:zouzhxi 来源:原创 标题:Servlet输出图片(验证码)
File directory: ..\imgTest\src ..\imgTest\src\com ..\imgTest\src\com\zouzhxi ..\imgTest\src\com\zouzhxi\comm ..\imgTest\src\com\zouzhxi\comm\impl ..\imgTest\src\com\zouzhxi\comm\impl\Random.java ..\imgTest\src\com\zouzhxi\test ..\imgTest\src\com\zouzhxi\test\servlet ..\imgTest\src\com\zouzhx2009-2-20 9:54:21 阅读(91) 评论(0)
2009-1-5 10:46:07 阅读(81) 评论(0)
作者:杨芹勍 来源:博客园 标题:Delphi的JSON库 - DJSON- JSONTokener(下)
CODE:Delphi源代码:
{ Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or2009-1-4 9:16:06 阅读(49) 评论(0)
1、Java支持垃圾回收,Delphi不支持,在此我使用Delphi中的智能指针替代。 2、Java中有Boolean、Integer、Long等类,Delphi没有, 我便按照Java的方法分别创建了TBooleanObject、TIntegerObject、TLongObject等类。 3、在C语法和Pascal语法之间切换,头有点疼…… 但我已下定决心把DJson做完! 现在用Delphi的人不多,原因有两点: 1、公司管理层的问题。 2、关于Delphi相关成熟的库太少。 既然第一点已经无法挽回,那就让我们在第二点上做努力吧!
2008-12-24 16:31:30 阅读(19) 评论(0)
为了更好地优化博客园程序的性能,最近我在优化代码的同时,更深入地去研究asp.net的源代码。asp.net的源代码通过Reflector工具一鉴无遗, 虽然不是原版的代码,但已经足够了,其中的原理与思想已经清楚地摆在我们面前。这是.NET开发人员的幸运!
在我们开发asp.net应用程序时, System.Web.UI.Page是我们最熟悉并用的最多的一个类。但有多少人真正对这个类的源代码仔细研究过? 从相关搜索中可以看出并不是很多,比如,用Google搜索ProcessRequestMain方法中开始的……
2008-10-31 17:00:13 阅读(42) 评论(0)
2008-10-31 16:44:17 阅读(25) 评论(0)
| 字符 | 说明 | 示例 | 输出 |
| C | 货币 | string.Format("{0:C3}", 2) | $2.000 |
| D | 十进制 |
2008-10-31 16:42:06 阅读(61) 评论(2)