﻿<?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>博客园-.NET人字拖-随笔分类-C/C++</title><link>http://www.cnblogs.com/xdotnet/category/82816.html</link><description /><language>zh-cn</language><lastBuildDate>Sun, 18 May 2008 20:46:12 GMT</lastBuildDate><pubDate>Sun, 18 May 2008 20:46:12 GMT</pubDate><ttl>60</ttl><item><title>VS2008下安装boost</title><link>http://www.cnblogs.com/xdotnet/archive/2008/03/22/boost_install_config.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Sat, 22 Mar 2008 11:03:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2008/03/22/boost_install_config.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/1117921.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2008/03/22/boost_install_config.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/1117921.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/1117921.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 由于经常在开发C++的程序中都需要使用到正则表达式，而且也一直想学习一下Boost这个优秀的C++库，OK，今天就介绍一下在 VS2008下安装boost。可以上boost的网站去下载，推荐使用那个程序下载，速度很快，下载完一窥，boost居然有1G多，差点把我吓死。由于第一次使用，不知道要如何配置，因此从网络中搜罗很多，把最终的步骤给记下，以便后人之用...&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2008/03/22/boost_install_config.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/1117921.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2008-03-22 19:03 <a href="http://www.cnblogs.com/xdotnet/archive/2008/03/22/boost_install_config.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转]vc中socket编程步骤</title><link>http://www.cnblogs.com/xdotnet/archive/2008/01/22/vc_socket.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Tue, 22 Jan 2008 05:50:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2008/01/22/vc_socket.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/1048550.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2008/01/22/vc_socket.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/1048550.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/1048550.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:    sockets（套接字）编程有三种，流式套接字（SOCK_STREAM），数据报套接字（SOCK_DGRAM），原始套接字（SOCK_RAW）；基于TCP的socket编程是采用的流式套接字。在这个程序中，将两个工程添加到一个工作区。要链接一个ws2_32.lib的库文件。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2008/01/22/vc_socket.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/1048550.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2008-01-22 13:50 <a href="http://www.cnblogs.com/xdotnet/archive/2008/01/22/vc_socket.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[字符集]Unicode和UTF-8之间的转换详解</title><link>http://www.cnblogs.com/xdotnet/archive/2007/11/23/unicode_and_utf8.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Fri, 23 Nov 2007 14:25:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/11/23/unicode_and_utf8.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/970482.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/11/23/unicode_and_utf8.html#Feedback</comments><slash:comments>31</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/970482.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/970482.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 最近在用VC++开发一个小工具，平时用惯了.NET，用起VC++最郁闷的就是字符串处理。当然最最让人难于琢磨的就是字符集，编码之间的转换。通过这几天的研究，终于明白了Unicode和UTF-8之间编码的区别。Unicode是一个字符集，而UTF-8是Unicode的其中一种，Unicode是定长的都为双字节，而UTF-8是可变的，对于汉字来说Unicode占有的字节比 UTF-8占用的字节少1个字节。Unicode为双字节，而UTF-8中汉字占三个字节。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/11/23/unicode_and_utf8.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/970482.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-11-23 22:25 <a href="http://www.cnblogs.com/xdotnet/archive/2007/11/23/unicode_and_utf8.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[VC++]编译，没有找到 mspdb80.dll 的解决办法</title><link>http://www.cnblogs.com/xdotnet/archive/2007/11/21/cl_lib_vcPP.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Wed, 21 Nov 2007 07:53:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/11/21/cl_lib_vcPP.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/967340.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/11/21/cl_lib_vcPP.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/967340.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/967340.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在cmd中键入cl执行编译（或lib）时会出现mspdb80.dll无法找到的情况，是因为VC\Bin\下没有“msobj80.dll,mspdb80.dll,mspdbcore.dll,mspdbsrv.exe”这四个文件，直接从Common7\IDE\下复制这四个文件到VC\Bin\下即可解决。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/11/21/cl_lib_vcPP.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/967340.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-11-21 15:53 <a href="http://www.cnblogs.com/xdotnet/archive/2007/11/21/cl_lib_vcPP.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[VC++]最小化图标至托盘中</title><link>http://www.cnblogs.com/xdotnet/archive/2007/11/15/vc_notifyicon.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Thu, 15 Nov 2007 15:56:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/11/15/vc_notifyicon.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/961046.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/11/15/vc_notifyicon.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/961046.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/961046.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 经常都会看到最小化程序后就会在任务栏的托盘中保留一个小图标，即把窗口最小化至托盘中。实现起来很简单，只要明白它使用到的结构和一个Shell函数即可完成。但是如果要制作其他的菜单，需要另外制作，今天暂且不讨论。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/11/15/vc_notifyicon.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/961046.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-11-15 23:56 <a href="http://www.cnblogs.com/xdotnet/archive/2007/11/15/vc_notifyicon.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[ADO&amp;VC一]使用ADO智能指针_ConnectionPtr,_CommandPtr及_RecordsetPtr</title><link>http://www.cnblogs.com/xdotnet/archive/2007/11/05/cpp_ado_intro.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Mon, 05 Nov 2007 05:29:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/11/05/cpp_ado_intro.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/949747.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/11/05/cpp_ado_intro.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/949747.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/949747.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:     使用C++（MFC）操作数据库，首选就是ADO。ADO 库包含三个基本接口:_ConnectionPtr接口、_CommandPtr接口和_RecordsetPtr接口。在MFC要使用ADO（COM）首先要引用COM地址，编译器才能够实现。从网上的很多资料都介绍，将EOF重命名，防止和其他冲突，那偶们也这样做反正也不会有坏处。格式如下：<br>#include <comdef.h><br>#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF", "EndOfFields")&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/11/05/cpp_ado_intro.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/949747.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-11-05 13:29 <a href="http://www.cnblogs.com/xdotnet/archive/2007/11/05/cpp_ado_intro.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[MFC入门二]四种不同对象</title><link>http://www.cnblogs.com/xdotnet/archive/2007/10/26/mfc_objects.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Fri, 26 Oct 2007 12:45:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/10/26/mfc_objects.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/939140.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/10/26/mfc_objects.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/939140.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/939140.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在C++中有四种方法可以产生一个对象，他们分别保存于内存中的堆栈（Stack），堆（Heap），全局对象和局部静态对象。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/10/26/mfc_objects.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/939140.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-10-26 20:45 <a href="http://www.cnblogs.com/xdotnet/archive/2007/10/26/mfc_objects.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[MFC入门一]基于消息，事件驱动（Message Based,Event Driven）</title><link>http://www.cnblogs.com/xdotnet/archive/2007/10/24/mfc_message_first.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Wed, 24 Oct 2007 15:53:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/10/24/mfc_message_first.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/936763.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/10/24/mfc_message_first.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/936763.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/936763.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 学习了一些C++，对C++的语法也基本上有所了解了，由于偶是一个C++的业余爱好者，也一直应用.NET操作系统，没什么机会到Linux等系统下去运行。所以VC++也是我的目标，喜欢上了游戏，也喜欢外挂但是用.NET来搞这些总觉得不爽，C++才是不错的选择。本系列将记录本人学习MFC的一个过程，也可以称为笔记，今天来看看MFC中的消息。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/10/24/mfc_message_first.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/936763.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-10-24 23:53 <a href="http://www.cnblogs.com/xdotnet/archive/2007/10/24/mfc_message_first.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[C++程序语言设计笔记一]面向对象编程抽象，继承，重写基本介绍</title><link>http://www.cnblogs.com/xdotnet/archive/2007/09/17/cplusplus_pdl_notes_one.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Mon, 17 Sep 2007 15:05:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/09/17/cplusplus_pdl_notes_one.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/896421.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/09/17/cplusplus_pdl_notes_one.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/896421.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/896421.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 今天是个不错的日子，不仅有人收了我做徒弟从此传授我有关C++的一些知识，由于前一段时间喜欢上了外挂的研究也用到了一些MFC的知识及一些Windows APIs编程，但是对C++还是没有从根本上认识。我从来没有过一个真正意义上的计算机老师(那些只会拿着课件给我念的不算)，由于一路走来都只有我一个人，身边的人也全是学习科研的，美其名曰：生物工程，我想考过大学的人都知道这个科目的热度有多大---全国十大骗人专业之首。我放弃了我的专业的所有，一头投向计算机中，这可能也是由于我在高中就开始玩“黑客技术”以及我对计算机的敬仰之情所致。说了这么多，都是要感谢这位师傅，而且还是个女生，虽然我们是在网路上认识.....前一段时间看了《Windows核心编程》没有深入了解，谁都知道一本比较好的书没看个几遍是很难懂得他的精髓的，和我学习. NET一样(我看了红皮人头书WROX出版的《.NET入门经典》总共四遍，第一遍不知道说什么；第二编好像是这样；第三遍基本上懂一点；第四遍他才真正把我从VB中给带到C#过来而一发不可自拔，其实中间版本也有更替了现在应该是第4版了吧<怀疑中>)。今天师傅就推荐了一本《C++程&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/09/17/cplusplus_pdl_notes_one.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/896421.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-09-17 23:05 <a href="http://www.cnblogs.com/xdotnet/archive/2007/09/17/cplusplus_pdl_notes_one.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[C#/C++]C#调用非托管DLL的APIs</title><link>http://www.cnblogs.com/xdotnet/archive/2007/08/10/csharp_cpp_dll_pinvoke.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Fri, 10 Aug 2007 13:52:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/08/10/csharp_cpp_dll_pinvoke.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/851287.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/08/10/csharp_cpp_dll_pinvoke.html#Feedback</comments><slash:comments>14</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/851287.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/851287.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 上网baidu一下或google一下这个东东就有很多人在问这个问题，最近我也用到了这个，所以就留下来以备往后需要是可以查找。我想通过这个来作为C#调用windows APIs的出发点，在以后的随笔当中介绍一下我现阶段用到的一些APIs或非托管类库。在调用非托管DLL的APIs前，我们应该好好掌握一下 DllImportAttribute,MSDN给出的定义为：可将该属性应用于方法。DllImportAttribute 属性提供对从非托管 DLL 导出的函数进行调用所必需的信息。作为最低要求，必须提供包含入口点的 DLL 的名称。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/08/10/csharp_cpp_dll_pinvoke.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/851287.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-08-10 21:52 <a href="http://www.cnblogs.com/xdotnet/archive/2007/08/10/csharp_cpp_dll_pinvoke.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转]Windowns消息大全</title><link>http://www.cnblogs.com/xdotnet/archive/2007/07/09/cpp_message.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Mon, 09 Jul 2007 14:20:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/07/09/cpp_message.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/811813.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/07/09/cpp_message.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/811813.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/811813.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 消息，就是指Windows发出的一个通知，告诉应用程序某个事情发生了。例如，单击鼠标、改变窗口尺寸、按下键盘上的一个键都会使Windows发送一个消息给应用程序。消息本身是作为一个记录传递给应用程序的，这个记录中包含了消息的类型以及其他信息。例如，对于单击鼠标所产生的消息来说，这个记录中包含了单击鼠标时的坐标。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/07/09/cpp_message.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/811813.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-07-09 22:20 <a href="http://www.cnblogs.com/xdotnet/archive/2007/07/09/cpp_message.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[C#&amp;&amp;C++]类CLASS</title><link>http://www.cnblogs.com/xdotnet/archive/2007/06/30/csharp_cpp_class.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Sat, 30 Jun 2007 03:33:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/06/30/csharp_cpp_class.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/801245.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/06/30/csharp_cpp_class.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/801245.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/801245.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:     很早就有学习C++的冲动，但是由于一直以来坚持C#而没有真正进入过C++世界很多的文章包括微软的也只有C++转向C#的文章，而很少有人写过由C# 进入C++的文章。由于我对游戏开发很有兴趣，在我看到的现状来看C++是游戏界的首选，我是说大型游戏而不是手机之类的。同时朋友会叫你写一个小程序，比如一个计算器，你总不能叫他装一下.NET框架再运行吧，所以多我来说学习C++还是很有必要的，不知道大哥大姐们是怎么个想法。在此我想记录一下C# 中和C++的区别和联系等等，OK今天首先看看C#中和C++中的类及其继承等等。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/06/30/csharp_cpp_class.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/801245.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-06-30 11:33 <a href="http://www.cnblogs.com/xdotnet/archive/2007/06/30/csharp_cpp_class.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[MFC]LPSTR LPCSTR LPWSTR LPCWSTR</title><link>http://www.cnblogs.com/xdotnet/archive/2007/06/30/cpp_string.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Fri, 29 Jun 2007 17:43:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/06/30/cpp_string.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/800884.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/06/30/cpp_string.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/800884.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/800884.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:    记下几个字符串东东,即他们得区别:<br><br>    LPSTR:一个32位指向字符串的指针，相当于char *;<br><br>    LPCSTR:一个32位指向字符串常量的指针，相当于const char *;<br><br>    LPWSTR:一个32位指向Unicode字符串指针，相当于wchar_t *;<br><br>    LPCWSTR:一个32位指向Unicode字符串常量指针，相当于const wchar_t *;<br>   <br>1 #ifdef UNICODE<br><br>2 　typedef LPWSTR LPTSTR;<br><br>3 　typedef LPCWSTR LPCTSTR;<br><br>4 #else<br><br>5 　typedef LPSTR LPTSTR;<br><br>6 　typedef LPCSTR LPCTSTR;<br><br>7 #endif <br>   <br>    当然我们也可以相互转换一下（强行转换会变乱码）：<br><br>    LPWS&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/06/30/cpp_string.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/800884.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-06-30 01:43 <a href="http://www.cnblogs.com/xdotnet/archive/2007/06/30/cpp_string.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[VC++入门]指针一</title><link>http://www.cnblogs.com/xdotnet/archive/2007/06/05/vcpp_points.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Tue, 05 Jun 2007 13:39:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/06/05/vcpp_points.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/772693.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/06/05/vcpp_points.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/772693.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/772693.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:     俗话说没有搞清楚指针就没有学会C/C++，所以指针是一个相当重要的东东，相当年在用 C#调用C++写的动态链接库时，以为C++中的指针就是C#中的引用类型(ref)，但是看了一下却不是这样。指针当然和内存是离不开的，有很多版本的定义，但是我觉得最容易理解的是：每一个变量都有一个内存地址，这个地址就称为指针。&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/06/05/vcpp_points.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/772693.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-06-05 21:39 <a href="http://www.cnblogs.com/xdotnet/archive/2007/06/05/vcpp_points.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[VC++入门]搞了半天我终于知道C++那种头文件h和源文件cpp到底在搞什么</title><link>http://www.cnblogs.com/xdotnet/archive/2007/01/29/cpp_declare_define.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Mon, 29 Jan 2007 11:01:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/01/29/cpp_declare_define.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/633802.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/01/29/cpp_declare_define.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/633802.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/633802.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 很多人都是从C++转到C#，而我却正好相反，从C#去学C++。第一次看那个东西我就直接用VS建一个C++项目，但一进去就闷了，不知道怎么回事，更本看不懂里面的文件和文件之间到底有什么关系。今天终于弄明白了一点，h文件和cpp文件也就是说，在h文件中声明Declare，而在cpp文件中定义Define。要弄明白这个就只要把声明和定义搞懂就好了，但是还是不习惯通常用回车敲得做法，C++中的智能提示跟C#中的简直就是...&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/01/29/cpp_declare_define.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/633802.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-01-29 19:01 <a href="http://www.cnblogs.com/xdotnet/archive/2007/01/29/cpp_declare_define.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[VC++入门]步入VC++的殿堂</title><link>http://www.cnblogs.com/xdotnet/archive/2007/01/23/cplusplus_start.html</link><dc:creator>网魂小兵</dc:creator><author>网魂小兵</author><pubDate>Tue, 23 Jan 2007 02:21:00 GMT</pubDate><guid>http://www.cnblogs.com/xdotnet/archive/2007/01/23/cplusplus_start.html</guid><wfw:comment>http://www.cnblogs.com/xdotnet/comments/627645.html</wfw:comment><comments>http://www.cnblogs.com/xdotnet/archive/2007/01/23/cplusplus_start.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/xdotnet/comments/commentRss/627645.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/xdotnet/services/trackbacks/627645.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 有时候需要用VC++来做一个小软件，但是对于没用过的我，只能从新学习！曾今有人说过：“偷懒的人学VB，聪明的人学Delphi，真正的程序员学VC。”由曾学过VB也算是偷懒过了，但是中途放弃去学习C#了，现在觉得有时候要做一个小软件，而且又不是所有的计算机上都装有.NET的框架，为了一个几百K的程序还要将.NET框架打包，人家不懂程序的人一看还不得吓死。所以学习C++还是有必要的，何况想进入游戏行业的我呢？嗬嗬！其实能让我下决心去学这个还有一个就是我想了解一下Windows是怎么完成哪些操作的！&nbsp;&nbsp;<a href='http://www.cnblogs.com/xdotnet/archive/2007/01/23/cplusplus_start.html'>阅读全文</a><img src ="http://www.cnblogs.com/xdotnet/aggbug/627645.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://xdotnet.cnblogs.com/" target="_blank">网魂小兵</a> 2007-01-23 10:21 <a href="http://www.cnblogs.com/xdotnet/archive/2007/01/23/cplusplus_start.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>