<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/xiaohan13916830" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/xiaohan13916830" type="application/rss+xml"></fs:self_link><lastBuildDate>Sat, 28 May 2005 08:30:00 GMT</lastBuildDate><title>潇寒的Blog</title><link>http://blog.csdn.net/xiaohan13916830/</link><item><title>搬家了~~</title><link>http://blog.csdn.net/xiaohan13916830/archive/2005/05/28/382714.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/382714.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/382714.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=382714</trackback:ping><description>决定搬家了，大家仍然可以通过
http://blog.xieyubo.cn 访问，这将是我永远的blog的地址（也许以后我还会搬家，但地址不会换了）
或者通过邮件与我联系(xieyubo@gmail.com), 不过我不能保证回复每一封邮件:)&lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/382714.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 28 May 2005 16:30:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2005/05/28/382714.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2005/05/28/382714.aspx</guid><dc:creator>潇寒</dc:creator></item><item><title>《纯C论坛·电子杂志》2005.3月号（总第四期）正式发布！</title><link>http://blog.csdn.net/xiaohan13916830/archive/2005/04/08/339885.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/339885.aspx</wfw:comment><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/339885.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=339885</trackback:ping><description>CSDN电子杂志社区成员之一《纯C论坛杂志》
2005年3月号(总第4期)

目录
-----------------------------------------------------------
卷首语
我眼中的计算机科学 王宏志 1

计算机体系结构
听大牛们谈未来的体系结构研究方向（二） 王凯峰(译) 1

操作系统
《操作系统概念》第三章——操作系统结构 吕建鹏(译) 4
Pyos中软盘驱动、DMA及文件系统的实现(上) 谢煜波 31

算法分析
车辆牌照识别系统的预处理算法 刘鹏翔 59

数据库原理
MyBase®物理存储结构的设计 赵锴 67

系统设计
设计一个十分简单的16位CPU 黄海 72
Hello China的体系结构 Garry 92

技术资料
跟我一起写Makefile  陈皓 118

论坛视点
全新的操作系统概念 纯C论坛网友 168

编辑部通讯
投稿指南 编辑部 170
勘误表 编辑部 172
----------------------------------------&lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/339885.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 08 Apr 2005 16:36:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2005/04/08/339885.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2005/04/08/339885.aspx</guid><dc:creator>潇寒</dc:creator></item><item><title>对脚本语言编译器的猜测~~</title><link>http://blog.csdn.net/xiaohan13916830/archive/2005/03/19/323908.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/323908.aspx</wfw:comment><slash:comments>6</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/323908.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=323908</trackback:ping><description>今天看见一个网站上面声称它的产品可以将Javascript这样的脚本语言编译成可执行文件，我对上面这样的说法持怀疑态度，因为按我所知道的编译理论来说，像javascript这样的动态类型语言是无法编译的

动态类型语言不是弱类型语言，弱类型语言是可以编译的，比如汇编语言，但动态类型语言它的语法成份的类型是动态确定的，比如javascript中，A这个变量既可以表示一个字符串，也可以表示一个数组，甚至可以表示一个函数，那么我在调用A的时候，我怎么知道我是在访问一个字符串，或者是在调用一个函数呢？这是在编译期无法确定的，因此，这是无法编译的

但上面那个软件的确可以把一个javascript做成一个exe文件，并且可以执行，我认为要达到这样的目标不一定就必须编译，比如我完全可以做一个外壳，然后把这个要编译的脚本做为资源连入我的外壳，连成一个exe文件，到时候运行时，再把这个javascript的文件释放出来，然后调用脚夫本解释器进行解释执行，其实就如同一个打包并解包的过程

遗憾的是我无法找到证据证明它是这样做的，不知大家有何高见，呵呵~~~

&lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/323908.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 19 Mar 2005 23:37:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2005/03/19/323908.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2005/03/19/323908.aspx</guid><dc:creator>潇寒</dc:creator></item><item><title>看完《C++代码设计与重用》了~~</title><link>http://blog.csdn.net/xiaohan13916830/archive/2005/03/13/318480.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/318480.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/318480.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=318480</trackback:ping><description>这本书已经买了很久了，今天花了一天的时间把它读完了，不过老实说对这本书稍稍感觉有些失望，也许是以前常常听到它的盛名，心中期望太高的缘故吧~~

我看的这本书是翻译过来的，除了在某些地方感觉翻译上有些生硬，看着比较费劲外，总体上感觉翻译的质量还不错，而且作者还在不少难于理解的地方加了一些自己的译注，但还是太少了点，而且有些译注只是说“在什么什么上验证通过”之类，少了点理论性质的分析。只说明了现象，而没有说明原因，难免让人觉得有些许遗憾~~。

不过在文字方面我觉得编辑就不太认真了，很多地方有错，特别是很多代码的第一个字母大写了，这显然是不应当的。

从书中内容来说，感觉太老了一点，作者是95年写的，里面的一些讨论的问题在C++标准化这么多年以后感觉已经没有什么太大的实际价值，有些问题现在是碰不见了。

本书讨论的重用远比代码的设计为多，这可能也是书的封面上“重用”两个字比较大的原因吧，但很多说法总有一种耳熟能详的感觉，也可能是这十年来这方面的内容在很多其它渠道上已经被讨论得很广泛了吧，总得感觉上是缺乏很强的新意~~

再者，书中很多地方只说明了“这样不行”，但没有说明&lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/318480.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 13 Mar 2005 17:33:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2005/03/13/318480.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2005/03/13/318480.aspx</guid><dc:creator>潇寒</dc:creator></item><item><title>《CSDN社区电子杂志——纯C论坛杂志》暨《纯C论坛·电子杂志》2005.1期（总第三期）发布！</title><link>http://blog.csdn.net/xiaohan13916830/archive/2005/02/01/275952.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/275952.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/275952.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=275952</trackback:ping><description>下载：http://purec.binghua.com/Soft/Class2/dl_hpcem/200502/91.html
-----------------------------------------------------------------------------------------------------------
《CSDN社区电子杂志——纯C论坛杂志》暨《纯C论坛·电子杂志》2005.1期（总第三期）发布！本期电子杂志加入了CSDN社区电子杂志计划，与CSDN网站同共发布！
详情请见：http://blog.csdn.net/ccemp/archive/2005/01/31/275318.aspx

关于本期杂志的反馈，您可以在线填写我们的反馈调查表!  http://survey.csdn.net/inquiry/viewinquirystep.aspx?id=74
或在纯C论坛·读者俱乐部发表意见：
http://purec.binghua.com/bbs/list.asp?boardid=12 





您也可以前往纯C论&lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/275952.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 01 Feb 2005 18:06:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2005/02/01/275952.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2005/02/01/275952.aspx</guid><dc:creator>潇寒</dc:creator></item><item><title>关于pow()在printf()中用%d输出的问题</title><link>http://blog.csdn.net/xiaohan13916830/archive/2004/11/30/198767.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/198767.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/198767.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=198767</trackback:ping><description>今天收到一封信,里面提出了这样一个有意思的问题
#include 
#include 

int main()
{
        printf( &quot;%d\n&quot; , pow( 4 , 2 ) ) ;
}

输出是0,
但是

#include 
#include 

int main()
{
        int a = pow( 4 , 2 ) ;
        printf( &quot;%d\n , a ) ;
}

输出正确. why?

这个问题很有意思,其实如果把第一个程序改一下,改成
printf( &quot;%d\n&quot; , ( int )pow( 4 , 2 ) ) ;
那么第一个问题的输出也是正确的.

比较一下两种写法,可以发现问题是出在一个转换下,先计算pow(4,2)的值,然后再把它转换成int型的值,最后再用%d输出就正确了,这主要是因为printf()在传递参数的时候不会进行类型转换,而pow()的返回值是一个double型的值!

我们计算一下pow( 4 , 2 ),它的结果是16,然后,我们把它用 doubl&lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/198767.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 30 Nov 2004 17:51:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2004/11/30/198767.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2004/11/30/198767.aspx</guid><dc:creator>潇寒</dc:creator></item><item><title>《纯C论坛·电子杂志》2004.11（总第2期）</title><link>http://blog.csdn.net/xiaohan13916830/archive/2004/11/28/196647.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/196647.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/196647.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=196647</trackback:ping><description>《纯C论坛·电子杂志》2004.11（总第2期）正式发行！
下载：http://purec.binghua.com/Soft/Class2/dl_hpcem/200411/83.html
--------------------------------------------------------------------------------

                           目  录
【 卷首语 】    
  我心目中的程序员                                            赵志刚      1-2
【 计算机体系结构 】    
  听大牛们谈未来的体系结构研究方向（一）                      王凯峰      4-6
【 操作系统 】    
  Linux核心（The Linux Kernel）（英汉对译）（一）             毕昕（等）  7-17
  Linux核心（The Linux Kernel）（英汉对译）（二）             毕昕（等）  &lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/196647.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 28 Nov 2004 20:08:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2004/11/28/196647.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2004/11/28/196647.aspx</guid><dc:creator>潇寒</dc:creator></item><item><title>操作系统引导探究 (Version 0.02)</title><link>http://blog.csdn.net/xiaohan13916830/archive/2004/11/16/183318.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/183318.aspx</wfw:comment><slash:comments>5</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/183318.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=183318</trackback:ping><description>本篇文章并不旨在完整的讨论一个多引导系统程序怎样去引导不同的操作系统，而只打算从编写操作系统的角度出发，谈谈计算机怎样从加电开始，从无到有，将操作系统运行起来，在其中将尽量详尽的描述从实模式到保护模式的过渡，目的只在于能将所学与广大爱好者共享，为希望开发操作系统的朋友留下一点资料，也为自己留下一点心得。

本篇文章将以开发中的pyos系统引导程序为例，pyos是一个正在开发中的实验型操作系统，它并不打算以目前任何一种运行中的操作系统为模式，而只想通过自己编写一个从头到尾的操作系统来学习知识，积累技术，如果你有兴趣，非常欢迎你的加入！

本篇纯属学习过程中的一点心得体会，如果你发现其中有错误或不当之处，非常希望你来信指教。

&lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/183318.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 16 Nov 2004 16:33:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2004/11/16/183318.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2004/11/16/183318.aspx</guid><dc:creator>潇寒</dc:creator></item><item><title>Pyos 支持的 FAT12 文件系统~~~~</title><link>http://blog.csdn.net/xiaohan13916830/archive/2004/11/05/168084.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/168084.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/168084.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=168084</trackback:ping><description>Pyos 支持的 FAT12 文件系统

这两天写了一个 pyos 使用的 fat12 文件系统驱动, 同前一个版本一样, 原生的 gui 图形界面, 它有如下一些特点:



增加了一个启动界面:

此主题相关图片如下：



启动并登陆后, 可以打开 PicSee 这个文件浏览器, 它可以根据文件类型用不同的图标显示不同类型的文件, 并可用上下按钮进行滚动:

此主题相关图片如下：



这个浏览器, 可以打开文本文件, 打开方式同你在 windows 下使用的一样, 点击文件图标就行

此主题相关图片如下：





也可以打开图片文件, 同样提供了上下左右四个方向的滚动

此主题相关图片如下：





还可以与 windows 共享文件:

此主题相关图片如下：





下面是这一版本的启动映象, 可以在 vmware, bochs, virtual pc 这三种虚拟机上启动, 注意, 你需要将虚拟机的内存, 至少设置为 8M

 点击浏览该文件




过两天, 整理完代码&lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/168084.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 05 Nov 2004 17:07:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2004/11/05/168084.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2004/11/05/168084.aspx</guid><dc:creator>潇寒</dc:creator></item><item><title>纯C论坛·电子杂志·2004.10期（总第1期）正式发行！</title><link>http://blog.csdn.net/xiaohan13916830/archive/2004/10/28/156119.aspx</link><wfw:comment>http://blog.csdn.net/xiaohan13916830/comments/156119.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/xiaohan13916830/comments/commentRss/156119.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=156119</trackback:ping><description>纯C论坛·电子杂志·2004.10期（总第1期）正式发行！
开篇                                          孙志岗
(目  录)
【编译原理】    
  工欲善其事，必先利其器——lex和yacc工具介绍 高立琦       1-6
  连接器和加载器（Linkers And Loaders）       刘彦博（译） 64-78
【算法理论】    
ACM/ICPC 试题解析                           熊蜀光       10-16
【病毒研究】    
WinXP SP2对病毒和加密技术的影响             Killer       17-22
【C与C++】    
剖析Intel IA32架构下C语言及CPU浮点数机制    谢煜波       23-37
【网络安全】    
Linux 下SOCK_RAW的原理和应用                肖颖         58-63
【操作系统】    
操作系统引导探究（Version 0.02）     &lt;img src =&quot;http://blog.csdn.net/xiaohan13916830/aggbug/156119.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 28 Oct 2004 18:39:00 +0800</pubDate><author>潇寒</author><comments>http://blog.csdn.net/xiaohan13916830/archive/2004/10/28/156119.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/xiaohan13916830/archive/2004/10/28/156119.aspx</guid><dc:creator>潇寒</dc:creator></item></channel></rss>