<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>沐枫小筑</title><link>http://blog.csdn.net/muf/</link><description>每一片叶子，都记录着完美的程序 -- 如沐枫林</description><dc:language>zh-CN</dc:language><lastUpdateTime>Fri, 30 Nov 2007 12:56:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>沐枫</dc:creator><title>VC中的一个很奇怪的问题－－关于C4244</title><link>http://blog.csdn.net/Muf/archive/2007/11/30/1908938.aspx</link><pubDate>Fri, 30 Nov 2007 12:55:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2007/11/30/1908938.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/1908938.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2007/11/30/1908938.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/1908938.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1908938</trackback:ping><description>VC中的一个很奇怪的问题－－关于C4244&lt;img src ="http://blog.csdn.net/muf/aggbug/1908938.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>C++指针探讨 (四) 函数对象</title><link>http://blog.csdn.net/Muf/archive/2007/11/28/1905888.aspx</link><pubDate>Wed, 28 Nov 2007 14:17:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2007/11/28/1905888.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/1905888.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2007/11/28/1905888.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/1905888.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1905888</trackback:ping><description>这是入门级的随笔，说的是函数对象的定义，使用，以及与函数指针，成员函数指针的关系。 &lt;img src ="http://blog.csdn.net/muf/aggbug/1905888.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>VC2008 的几个新东西</title><link>http://blog.csdn.net/Muf/archive/2007/11/28/1905885.aspx</link><pubDate>Wed, 28 Nov 2007 14:16:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2007/11/28/1905885.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/1905885.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2007/11/28/1905885.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/1905885.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1905885</trackback:ping><description>关于.net方面，已经有许多人在关注了，我就关注一下，VC2008方面的新东西吧。&lt;img src ="http://blog.csdn.net/muf/aggbug/1905885.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>从for到foreach</title><link>http://blog.csdn.net/Muf/archive/2007/11/28/1905875.aspx</link><pubDate>Wed, 28 Nov 2007 14:12:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2007/11/28/1905875.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/1905875.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2007/11/28/1905875.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/1905875.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1905875</trackback:ping><description>一直在使用C/C++，对于循环语句while、do while、for，对于for情有独钟，因为其简洁、清晰、灵活。然而，这种情况，到了STL时，就有些变味了。&lt;img src ="http://blog.csdn.net/muf/aggbug/1905875.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>从赋值到初始化</title><link>http://blog.csdn.net/Muf/archive/2007/11/28/1905872.aspx</link><pubDate>Wed, 28 Nov 2007 14:10:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2007/11/28/1905872.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/1905872.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2007/11/28/1905872.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/1905872.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1905872</trackback:ping><description>C语言确实很优雅，整个语言的设计简洁一致。而在C++中，有一个让人诟病的问题就是变量初始化的不一致性。&lt;img src ="http://blog.csdn.net/muf/aggbug/1905872.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>Lua脚本语法说明（增加lua5.1部份特性）</title><link>http://blog.csdn.net/Muf/archive/2007/02/08/1505269.aspx</link><pubDate>Thu, 08 Feb 2007 13:50:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2007/02/08/1505269.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/1505269.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2007/02/08/1505269.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/1505269.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1505269</trackback:ping><description>Lua 的语法比较简单，学习起来也比较省力，但功能却并不弱。
　　所以，我只简单的归纳一下Lua的一些语法规则，使用起来方便好查就可以了。估计看完了，就懂得怎么写Lua程序了。&lt;img src ="http://blog.csdn.net/muf/aggbug/1505269.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>让C++源码和C#源码一起生成单一的Assembly</title><link>http://blog.csdn.net/Muf/archive/2006/04/15/664157.aspx</link><pubDate>Sat, 15 Apr 2006 00:16:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2006/04/15/664157.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/664157.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2006/04/15/664157.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/664157.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=664157</trackback:ping><description>　　本文提供了一个方法，让C++源码和C#源码一起编译链接成一个单一的Assembly。
　　由于C++提供了IJW方法，允许将旧有C++代码也编译成托管代码，因此这篇小文可以用极小的工作量来彻底解决所有C++遗留代码移植到.NET的问题。
　　这个方法，再加上前次的小文《您也使用托管C++吗？》，就可以把C++遗留代码移植到.NET的所有方法一网打尽了。

&lt;img src ="http://blog.csdn.net/muf/aggbug/664157.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>创建一个没有窗口的程序</title><link>http://blog.csdn.net/Muf/archive/2006/04/13/661725.aspx</link><pubDate>Thu, 13 Apr 2006 13:27:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2006/04/13/661725.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/661725.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2006/04/13/661725.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/661725.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=661725</trackback:ping><description>　　为了创建一个主窗口不显示的应用程序，我做了若干个探索。结果绕了几个弯，回到最简朴的没有窗体的世界中。
　　由此发现，我已经对窗体设计器产生了严重的依赖性，而且自已已经懒得不得了了－－哪怕只有几行的代码，也要IDE自动生成。
　　我将探索过程，以及最后的解决，全部呈现出来，希望能对大家有点帮助。&lt;img src ="http://blog.csdn.net/muf/aggbug/661725.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>您也使用托管C++吗？</title><link>http://blog.csdn.net/Muf/archive/2006/04/10/656920.aspx</link><pubDate>Mon, 10 Apr 2006 09:47:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2006/04/10/656920.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/656920.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2006/04/10/656920.aspx#Feedback</comments><slash:comments>12</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/656920.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=656920</trackback:ping><description>　　转向.NET后，手头上往往仍有旧的模块要重用。也许这些模块是Delphi写的，也许是C/C++写的，或者是其它编程语言……为了能把它们移植到.NET下，或者是在.NET中调用，To be or not to be, that is a question。
　　在这里，我笔记了几个在工作中遇到的几个场景。不过，这里不包括完全使用C#来重写原来用C++编写的程序这种变态的需求。当你被要求做这种事的时候，请三思而后行……这简直是种非人的折磨。
&lt;img src ="http://blog.csdn.net/muf/aggbug/656920.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>C++指针探讨 (三) 成员函数指针</title><link>http://blog.csdn.net/Muf/archive/2006/04/10/656911.aspx</link><pubDate>Mon, 10 Apr 2006 09:43:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2006/04/10/656911.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/656911.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2006/04/10/656911.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/656911.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=656911</trackback:ping><description>C语言的指针相当的灵活方便，但也相当容易出错。许多C语言初学者，甚至C语言老鸟都很容易栽倒在C语言的指针下。但不可否认的是，指针在C语言中的位置极其重要，也许可以偏激一点的来说：没有指针的C程序不是真正的C程序。 
　　然而C++的指针却常常给我一种束手束脚的感觉。C++比C语言有更严格的静态类型，强调类型安全，强调编译时检查。因此，对于C语言中最容易错用的指针，更是不能放过：C++的指针被分成数据指针，数据成员指针，函数指针，成员函数指针，而且不能随便相互转换。而且这些指针的声明格式都不一样. 
　　尽管C++中仍然有万能指针void*，但它却属于被批斗的对象，而且再也不能“万能”了。它不能转换成成员指针。 
　　这样一来，C++的指针就变得很尴尬：我们需要一种指针能够指向同一类型的数据，不管这个数据是普通数据，还是成员数据；我们更需要一种指针能够指向同一类型的函数，不管这个函数是静态函数，还是成员函数。但是没有，至少从现在的C++标准中，还没有看到。&lt;img src ="http://blog.csdn.net/muf/aggbug/656911.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>如何在.NET中实现脚本引擎 (CodeDom篇) </title><link>http://blog.csdn.net/Muf/archive/2006/01/13/578312.aspx</link><pubDate>Fri, 13 Jan 2006 14:22:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2006/01/13/578312.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/578312.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2006/01/13/578312.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/578312.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=578312</trackback:ping><description>        .NET 本身提供了强大的脚本引擎，可以直接使用.NET CLR的任何编程语言作为脚本语言，如VB.NET、C#、JScript, J#等等。使用脚本引擎，我们可以动态生成任意表达式、或动态导入任意脚本文件，并在任意时候执行。 
        经实践发现，我们可以使用至少两种不同的方式在.NET中使用脚本引擎：VsaEngine和CodeDom。 
        其实，CodeDom不能算是真正的脚本引擎，它实际上是编译器。但是我们完全可以利用CodeDom来模拟脚本引擎。 
&lt;img src ="http://blog.csdn.net/muf/aggbug/578312.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>用 .NET 实现插件机制</title><link>http://blog.csdn.net/Muf/archive/2005/08/21/460614.aspx</link><pubDate>Sun, 21 Aug 2005 11:52:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2005/08/21/460614.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/460614.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2005/08/21/460614.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/460614.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=460614</trackback:ping><description>.NET 提供的反射(Reflection)机制可以很方便的加载插件。本文提供一种方法，可以灵活的正确的载入所需的插件。&lt;img src ="http://blog.csdn.net/muf/aggbug/460614.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>C#注释文档生成的HTML问题解决 </title><link>http://blog.csdn.net/Muf/archive/2005/06/02/386523.aspx</link><pubDate>Thu, 02 Jun 2005 16:18:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2005/06/02/386523.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/386523.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2005/06/02/386523.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/386523.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=386523</trackback:ping><description>最近在使用Visual Studio 2003生成C#的程序注释文档时，发现生成的HTML文档不能够正常使用。&lt;img src ="http://blog.csdn.net/muf/aggbug/386523.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>C++指针探讨 (二）函数指针 </title><link>http://blog.csdn.net/Muf/archive/2005/05/28/382776.aspx</link><pubDate>Sat, 28 May 2005 10:30:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2005/05/28/382776.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/382776.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2005/05/28/382776.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/382776.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=382776</trackback:ping><description> 在C/C++中，数据指针是最直接，也最常用的，因此，理解起来也比较容易。而函数指针，作为运行时动态调用（比如回调函数 CallBack Function）是一种常见的，而且是很好用的手段，不能不好好认识一番。
&lt;img src ="http://blog.csdn.net/muf/aggbug/382776.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>沐枫</dc:creator><title>C++指针探讨 (-) 数据指针  </title><link>http://blog.csdn.net/Muf/archive/2005/05/11/373734.aspx</link><pubDate>Wed, 11 May 2005 20:59:00 GMT</pubDate><guid>http://blog.csdn.net/Muf/archive/2005/05/11/373734.aspx</guid><wfw:comment>http://blog.csdn.net/muf/comments/373734.aspx</wfw:comment><comments>http://blog.csdn.net/Muf/archive/2005/05/11/373734.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/muf/comments/commentRss/373734.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=373734</trackback:ping><description>    指针，在C/C++语言中一直是很受宠的；几乎找不到一个不使用指针的C/C++应用。用于存储数据和程序的地址，这是指针的基本功能。用于指向整型数，用整数指针(int*)；指向浮点数用浮点数指针(float*)；指向结构，用对应的结构指针(struct xxx *)；指向任意地址，用无类型指针(void*)。
    有时候，我们需要一些通用的指针。在C语言当中，(void*) 可以代表一切；但是在C++中，我们还有一些比较特殊的指针，无法用(void*)来表示。事实上，在C++中，想找到一个通用的指针，特别是通用的函数指针可是一个“不可能任务”。&lt;img src ="http://blog.csdn.net/muf/aggbug/373734.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>