2007年1月7日

摘要: 在CSDN上看到这个问题, 觉得有点意思就用C#写了这么个算法...其实不是很复杂, 主要是要处理多种输入的情况.输出的例子:12341234一千二百三十四万一千二百三十四10001024一千万一千零二十四199998001一亿九千九百九十九万八千零一其实有的地方念"两"比"二"要舒服, 这个问题...这个算法就没考虑了..算法代码如下:using System;using System.Coll... 阅读全文

posted @ 2007-01-07 17:52 Adrian H. 阅读(503) 评论(1) 推荐(0) 编辑

摘要: 转自: http://blogs.msdn.com/greg_schechter/archive/2004/05/27/143605.aspx Introduction What follows may seem like a fairly obscure topic relating to lifetime management in the CLR, but for those who... 阅读全文

posted @ 2007-01-07 15:30 Adrian H. 阅读(304) 评论(0) 推荐(0) 编辑

摘要: 转自: http://blogs.msdn.com/jmstall/archive/2007/01/06/Typesafe-GetProcAddress.aspx Pinvoke is cool in managed code, but sometimes you need to get straight at kernel32!GetProcAddress. For example, maybe... 阅读全文

posted @ 2007-01-07 14:41 Adrian H. 阅读(1140) 评论(1) 推荐(0) 编辑