摘要:                    
推荐一个不错的文章http://www.codeproject.com/cs/miscctrl/walkingrabbit.asp里面的由Arild Fines编写的BitmapToRegion很实用!由名字就可以知道什么意思了,把位图转化为区域。指定什么颜色为透明色或者什么颜色为非透明色。原理其实是用raw去访问了bitmap,不断的用矩形去框住透明部分或者不透明部分,最后添加到Graphics...                阅读全文
            
        阅读排行榜
Introduction to String Searching Algorithms--Rabin-Karp and Knuth-Morris-Pratt Algorithms [翻译]
2008-06-03 13:11 by 老博客哈, 1908 阅读, 收藏,
摘要:                    
Introduction to String Searching AlgorithmsRabin-Karp and Knuth-Morris-Pratt Algorithms 【原文见: http://www.topcoder.com/tc?module=Static&d1=tutorials&d2=stringSearching】作者:ByTheLlamaTopcoder Mem...                阅读全文
            
        Power up C++ with the Standard Template Library:Part II: Advanced Uses [翻译]
2007-02-01 16:53 by 老博客哈, 1885 阅读, 收藏,
摘要:                    
Discuss this articlePower up C++ with the Standard Template Library: Part II: Advanced Uses 【原文见: http://www.topcoder.com/tc?module=Static&d1=tutorials&d2=standardTemplateLibrary2】 ...                阅读全文
            
        Ajax开发框架(上)[整理]
2009-03-29 22:30 by 老博客哈, 1654 阅读, 收藏,
摘要:                    
以下Ajax开发框架大多来自于《Ajax Web2.0快速入门与项目实践(.net)》一书。1. Bindows Bindows是一个通过DHTML、JavaScript、CSS和HTML等技术强劲联合起来的完整的Windows桌面式Web应用程序解决方案。它无需下载安装客户端支持组件(如Java、ActiveX或Flash),仅仅需要一个浏览器。纯OO的理念体现在Bindows任何地方,或许Bi...                阅读全文
            
        qsort 要注意的问题
2007-09-04 23:23 by 老博客哈, 1642 阅读, 收藏,
摘要:                    
大家竞相转载的 《qsort的七种排序》里面有不少细节问题,由于原版不知道是哪里的,所以部分错误可能是转载人漏掉或者误添的,这个暂且不谈,不过今天在hnu的论坛上看见yiyi的回复才知道原来最大的问题是出在作者的cmp函数里面:intcmp(constvoid*a,constvoid*b){return*(int*)a-*(int*)b;}这个问题出在 当a是int的最大值(2^31 - 1),b...                阅读全文
            
        
                    
                
浙公网安备 33010602011771号