﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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>C++博客-实时阴影绘制技术研究-文章分类-c++</title><link>http://www.cppblog.com/shadow/category/831.html</link><description>埋骨何须桑梓地，人生何处不青山&lt;br&gt;
&lt;script src='http://s26.cnzz.com/stat.php?id=149868&amp;web_id=149868&amp;show=pic' language='JavaScript' charset='gb2312'&gt;&lt;/script&gt;
&lt;script src="http://www.xcinfo.ha.cn/jsq/default.asp?User=softshadow&amp;Length=6&amp;x=15&amp;y=20&amp;Mode=002"&gt;&lt;/script&gt;
&lt;script src="http://raptor.512j.com/count/c/qqcf.asp?user_name=shadow"&gt;&lt;/script&gt;
</description><language>zh-cn</language><lastBuildDate>Wed, 21 May 2008 00:15:06 GMT</lastBuildDate><pubDate>Wed, 21 May 2008 00:15:06 GMT</pubDate><ttl>60</ttl><item><title>[导入]详细解说STL hash_map系列</title><link>http://www.cppblog.com/shadow/articles/3846.html</link><dc:creator>苦行僧</dc:creator><author>苦行僧</author><pubDate>Tue, 07 Mar 2006 10:11:00 GMT</pubDate><guid>http://www.cppblog.com/shadow/articles/3846.html</guid><wfw:comment>http://www.cppblog.com/shadow/comments/3846.html</wfw:comment><comments>http://www.cppblog.com/shadow/articles/3846.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/shadow/comments/commentRss/3846.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/shadow/services/trackbacks/3846.html</trackback:ping><description><![CDATA[STL 封装了许多复杂的数据结构，最典型的就是二叉树。因此，map得到许多应用，但有许多人并不知道还有hash_map， 或者hash_set 等。在某些时候，这些非标准的容器，说不定会帮你解决很多问题。 本文详细介绍了hash_map的使用以及和map的区别，对于初学者和希望深入研究STL的朋友都有所帮助，也是《详细解说STL系列》中很重要一部分。 以下是目录: 0 为什么需要hash_map 1 数据结构：hash_map原理 2 hash_map 使用 2.1 一个简单实例 2.2 hash_map 的hash函数 2.3...<br>文章来源:<a href='http://stl.winterxy.com/html/000119.html'>http://stl.winterxy.com/html/000119.html</a><img src ="http://www.cppblog.com/shadow/aggbug/3846.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/shadow/" target="_blank">苦行僧</a> 2006-03-07 18:11 <a href="http://www.cppblog.com/shadow/articles/3846.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[导入]过度使用C++模板</title><link>http://www.cppblog.com/shadow/articles/3847.html</link><dc:creator>苦行僧</dc:creator><author>苦行僧</author><pubDate>Tue, 07 Mar 2006 10:11:00 GMT</pubDate><guid>http://www.cppblog.com/shadow/articles/3847.html</guid><wfw:comment>http://www.cppblog.com/shadow/comments/3847.html</wfw:comment><comments>http://www.cppblog.com/shadow/articles/3847.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/shadow/comments/commentRss/3847.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/shadow/services/trackbacks/3847.html</trackback:ping><description><![CDATA[本文来自STL中文站 大约每隔十年，都会出现一个编程新概念，宣布自己是以往概念的继承者。我们也再一次相信，从今往后软件比以前更可靠，更容易build，或者更有意思(没有人相信它会比以前更小或者更快)。在70年代，有结构编程；在80年代，开始了面向对象编程；从90年代中期，出现了范型编程(generic programming)。范型编程得名于其用模板而使代码重用的高效技术(范型类和范型函数)。 模板类和模板函数都是非常有用的工具。例如sqr()函数可以计算平方数，任何定义了乘法运算的数据类型（数字，矩阵）都适用。标准容器类(如 list)都是模板，这样对于每个新类型无需重写了，这正是使用旧版的C++时真正头疼的事情，因此我认为ISO的标准是个伟大的进步。然而，在这个过程中有些东西用得过头了。 详细查看:过度使用C++模板...<br>文章来源:<a href='http://stl.winterxy.com/html/000109.html'>http://stl.winterxy.com/html/000109.html</a><img src ="http://www.cppblog.com/shadow/aggbug/3847.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/shadow/" target="_blank">苦行僧</a> 2006-03-07 18:11 <a href="http://www.cppblog.com/shadow/articles/3847.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[导入] 详细解说STL string</title><link>http://www.cppblog.com/shadow/articles/3848.html</link><dc:creator>苦行僧</dc:creator><author>苦行僧</author><pubDate>Tue, 07 Mar 2006 10:11:00 GMT</pubDate><guid>http://www.cppblog.com/shadow/articles/3848.html</guid><wfw:comment>http://www.cppblog.com/shadow/comments/3848.html</wfw:comment><comments>http://www.cppblog.com/shadow/articles/3848.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/shadow/comments/commentRss/3848.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/shadow/services/trackbacks/3848.html</trackback:ping><description><![CDATA[C++ 语言是个十分优秀的语言，但优秀并不表示完美。还是有许多人不愿意使用C或者C++，为什么？原因众多，其中之一就是C/C++的文本处理功能太麻烦，用起来很不方便。以前没有接触过其他语言时，每当别人这么说，我总是不屑一顾，认为他们根本就没有领会C++的精华，或者不太懂C++，现在我接触 perl, php, 和Shell脚本以后，开始理解了以前为什么有人说C++文本处理不方便了。 本文讲述了string在STL中的作用，详细介绍了STL string的用法，并讲解如何定义char_traits结构，最后提出了关于使用STL string的建议以及string类的所有函数列表。 详细查看: 详细解说STL string...<br>文章来源:<a href='http://stl.winterxy.com/html/000107.html'>http://stl.winterxy.com/html/000107.html</a><img src ="http://www.cppblog.com/shadow/aggbug/3848.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/shadow/" target="_blank">苦行僧</a> 2006-03-07 18:11 <a href="http://www.cppblog.com/shadow/articles/3848.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[导入] 详细解说 STL 排序(Sort)</title><link>http://www.cppblog.com/shadow/articles/3849.html</link><dc:creator>苦行僧</dc:creator><author>苦行僧</author><pubDate>Tue, 07 Mar 2006 10:11:00 GMT</pubDate><guid>http://www.cppblog.com/shadow/articles/3849.html</guid><wfw:comment>http://www.cppblog.com/shadow/comments/3849.html</wfw:comment><comments>http://www.cppblog.com/shadow/articles/3849.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/shadow/comments/commentRss/3849.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/shadow/services/trackbacks/3849.html</trackback:ping><description><![CDATA[本文来自STL中文站 对于程序员来说，数据结构是必修的一门课。从查找到排序，从链表到二叉树，几乎所有的算法和原理都需要理解，理解不了也要死记硬背下来。幸运的是这些理论都已经比较成熟，算法也基本固定下来，不需要你再去花费心思去考虑其算法原理，也不用再去验证其准确性。不过，等你开始应用计算机语言来工作的时候，你会发现，面对不同的需求你需要一次又一次去用代码重复实现这些已经成熟的算法，而且会一次又一次陷入一些由于自己疏忽而产生的bug中。这时，你想找一种工具，已经帮你实现这些功能，你想怎么用就怎么用，同时不影响性能。你需要的就是STL, 标准模板库！ 西方有句谚语：不要重复发明轮子！ STL几乎封装了所有的数据结构中的算法，从链表到队列，从向量到堆栈，对hash到二叉树，从搜索到排序，从增加到删除......可以说，如果你理解了STL，你会发现你已不用拘泥于算法本身，从而站在巨人的肩膀上去考虑更高级的应用。 详细查看 详细解说 STL 排序(Sort)...<br>文章来源:<a href='http://stl.winterxy.com/html/000104.html'>http://stl.winterxy.com/html/000104.html</a><img src ="http://www.cppblog.com/shadow/aggbug/3849.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/shadow/" target="_blank">苦行僧</a> 2006-03-07 18:11 <a href="http://www.cppblog.com/shadow/articles/3849.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>