04 2012 档案

摘要:The Top 100 List#Author(s) / TitleYearISBN13Joltsumavg1Steve McConnellCode Complete: A Practical Handbook of Software Construction (2nd Edition)2004978-0735619678**2434.722Elisabeth Freeman, etc.Head First Design Patterns2004978-0596007126**2374.633Steve McConnellRapid Development2003978-0072850604* 阅读全文
posted @ 2012-04-29 22:24 SolidMango 阅读(632) 评论(1) 推荐(0)
摘要:Terminate process cleanly[reprint]I often noticed in the C examples I found on the net, that those examples made use of SafeTerminateProcess so I wondered what this call stands for and why they used it.After some research I found an article which was from Dr Dobbs written somewhere around 1999 which 阅读全文
posted @ 2012-04-26 22:32 SolidMango 阅读(963) 评论(0) 推荐(0)
摘要:强制结束进程的两种实现方式--C#和C++实现最近在做一个大型的项目,由于进程之间的关联出了一些问题,长话短说,就是我们不得不强制停止某些进程以保证系统正常的运行,在网上找了一下,没发现有这方面详细的介绍和写的比较全面的文章,于是按照MSDN的说明写了两种方法,希望对遇到类似问题的朋友有所帮助。首先,我们来看看C#的实现方式, 由于C#对进程的封装比较好,所以我们只需要较少的语句就可以完成这个工作,值得强调的是参数有效性检测和名字比较,由于系统中可能运行很多意想不到的进程,所以在比较名字的时候一定要用等于而不是包含或者之比较开头和结尾,否则很可能杀错进程,相关代码如下。C# Code://Re 阅读全文
posted @ 2012-04-17 18:25 SolidMango 阅读(13428) 评论(6) 推荐(4)
摘要:RAM, virtual memory, pagefile, and memory management in WindowsThis article contains basic information about the virtual memory implementation in 32-bit versions of Windows. This information concerns Windows 2000, Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008. (Because Wind 阅读全文
posted @ 2012-04-17 15:53 SolidMango
摘要:.Net Framework Windows Debug SOS 扩展常用命令速查Starting, Attaching, Executing and ExitingStart -> All Programs -> Debugging Tools for Windows -> WinDbgF6attach to processCtrl-Breakinterrupt debugee.detachdetach from a processgcontinue debugee executionqexit WinDbgGetting Help?help on commands tha 阅读全文
posted @ 2012-04-12 17:46 SolidMango 阅读(321) 评论(0) 推荐(0)
摘要:Books Programmers Don't Really ReadFrom:http://www.billthelizard.com/2008/12/books-programmers-dont-really-read.htmlMark Twain once said that a classic novel is one that many people want to have read, but few want to take the time to actually read. The same could be said of "classic" p 阅读全文
posted @ 2012-04-09 21:14 SolidMango 阅读(283) 评论(0) 推荐(0)
摘要:理解离散傅立叶变换[转载] 傅立叶变换的由来 让我们先看看为什么会有傅立叶变换?傅立叶是一位法国数学家和物理学家的名字,英语原名是Jean Baptiste Joseph Fourier(1768-1830), Fourier对热传递很感兴趣,于1807年在法国科学学会上发表了一篇论文,论文里描述运用正弦曲线来描述温度分布,论文里有个在当时具有争议性的决 断:任何连续周期信号都可以由一组适当的正弦曲线组合而成。当时审查这个论文的人,其中有两位是历史上著名的数学家拉格朗日(Joseph Louis Lagrange, 1736-1813)和拉普拉斯(Pierre Simon de Lapl... 阅读全文
posted @ 2012-04-07 11:33 SolidMango 阅读(1437) 评论(0) 推荐(0)
摘要:Exponentiation (POJ1001 ) Time Limit: 500MSMemory Limit: 10000KDescriptionProblems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many computer systems. This problem requires tha 阅读全文
posted @ 2012-04-06 17:47 SolidMango 阅读(779) 评论(0) 推荐(0)
摘要:大家都是抱着对算法与数据结构极大的兴趣才参加集训的,我们也希望大家学有所成,但是刚刚接触信息学领域的同学往往存在很多困惑,不知道从何入手学习,在这篇向导里,我希望能将自己不多的经验与大家分享,希望对各位有所帮助.一、语言是最重要的基本功无论侧重于什么方面,只要是通过计算机程序去最终实现的竞赛,语言都是大家要过的第一道关.亚洲赛区的比赛支持的语言包括C/C++与JAVA.虽然JAVA在应用极为广泛,但是其运行速度不可恭维.而且在以往的比赛中来看,大多数队伍还是采用了C或者C++.而且C语言是大家接触的第一门编程语言,所以我们集训队都采用C和C++混编的方式写代码.新来的同学可能C的基础知识刚刚学 阅读全文
posted @ 2012-04-03 14:15 SolidMango
摘要:--写在开始 按照今年的计划,需要研究一个有使用价值的linux下的C++开源项目,无意中发现了V8,觉得还不错,于是记录下来,希望对大家有所帮助。V8是一个由丹麦Google开发的开源JavaScript引擎,用于Google Chrome中,Chrome是现有的浏览器中速度相对比较快的一个,这完全得益于V8的效率,另外,作为一个独立的项目,V8也可以嵌入到我们自己开发的项目中运行,查了一下才知道,前一这被大家热炒的Node.js也是基于V8的,可见V8值得大家稍微研究一番。作为一个开源JavaScript引擎,V8是以源代码的形式开源,而我们使用的时候是以库的形式进行使用,这就涉及到源代. 阅读全文
posted @ 2012-04-02 22:03 SolidMango 阅读(10133) 评论(6) 推荐(5)