<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[driversmith的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/driversmith</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; driversmith]]></copyright><item><title><![CDATA[error C2871: “System”: 具有该名称的命名空间不存在 的解决办法]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/7023623</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/7023623</guid><author>driversmith</author><pubDate>Tue, 29 Nov 2011 15:20:46 +0800</pubDate><description><![CDATA[编译STL/clr时
头文件中：
using namespace System;

//编译中出现
\Person.h(5) : error C2871: “System”: 具有该名称的命名空间不存在
\Person.h(8) : error C2143: 语法错误 : 缺少“;”
........................
主要原因是 程序是托管代码，在项目设置中 选择]]></description><category></category></item><item><title><![CDATA[什么是Platform SDK]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/6530446</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/6530446</guid><author>driversmith</author><pubDate>Tue, 07 Jun 2011 21:11:00 +0800</pubDate><description><![CDATA[vc6推出时，是98年，windows2000,windowsXP都还没有推出。所以VC6的头文件中仅仅包含win98/NT的API、常量声明。在新的系统推出后，windows2000/xp都增添了一些新的API函数、常量定义。于是，你就需要安装platform sdk,它会安装一些新的头文件，lib库到你的VC里面，这里面包含了新操作系统的新API函数、常量的声明。装了platform ]]></description><category></category></item><item><title><![CDATA[LiveKd v3.0咋用呢?看这]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/6394684</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/6394684</guid><author>driversmith</author><pubDate>Wed, 04 May 2011 17:35:00 +0800</pubDate><description><![CDATA[<br />LiveKd v3.0<br />By Mark Russinovich<br />Published: November 1, 2006<br />Introduction<br />LiveKD, a utility I wrote for the CD included with Inside Windows 2000, 3rd Edition, is now freely available. LiveKD allows you to run the Kd and Windbg Micr]]></description><category></category></item><item><title><![CDATA[关于二进制补码]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/6306834</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/6306834</guid><author>driversmith</author><pubDate>Thu, 07 Apr 2011 13:31:00 +0800</pubDate><description><![CDATA[http://zhou304082042.iteye.com/blog/623555 问一个基本的问题。 负数在计算机中如何表示？ 举例来说，+8在计算机中表示为二进制的1000，那么-8怎么表示呢？ 很容易想到，可以将一个二进制位（bit）专门规定为符号位，它等于0时就表示正数，等于1时就表示负数。比如，在8位机中，规定每个字节的最高位为符号位。那么，+8就是00001000，而-8则是10001000。 但是，随便找一本《计算机原理》，都会告诉你，实际上，计算机内部采用二进制补码（Two's Compl]]></description><category></category></item><item><title><![CDATA[ dsp,dsw,ncb,opt,clw,plg,aps文件中分别存放的是什么东东，有什么作用？]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/6250936</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/6250936</guid><author>driversmith</author><pubDate>Tue, 15 Mar 2011 15:45:00 +0800</pubDate><description><![CDATA[转自from VC的IDE使用技巧大全:------------------------------opt 工程关于开发环境的参数文件。如工具条位置等信息； .aps (AppStudio File),资源辅助文件,二进制格式,一般不用去管他. .clw ClassWizard信息文件,实际上是INI文件的格式,有兴趣可以研究一下.有时候ClassWizard出问题,手工修改CLW文件可以解决.如果此文件不存在的话,每次用ClassWizard的时候绘提示你是否重建. .dsp (DeveloperStud]]></description><category></category></item><item><title><![CDATA[理解互斥量和信号量 作者: JuKevin ]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/6247831</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/6247831</guid><author>driversmith</author><pubDate>Mon, 14 Mar 2011 11:33:00 +0800</pubDate><description><![CDATA[转自http://ju-kevin.spaces.live.com/blog/cns!907BD90CD611C0C7!221.entry理解互斥量和信号量 作者: JuKevin互斥量(Mutex)互斥量表现互斥现象的数据结构，也被当作二元信号灯。一个互斥基本上是一个多任务敏感的二元信号，它能用作同步多任务的行为，它常用作保护从中断来的临界段代码并且在共享同步使用的资源。Mutex本质上说就是一把锁，提供对资源的独占访问，所以Mutex主要的作用是用于互斥。Mutex对象的值，只有0和1两个值。这两个值也]]></description><category></category></item><item><title><![CDATA[堆和栈的区别（转过无数次的文章）]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/6243692</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/6243692</guid><author>driversmith</author><pubDate>Sat, 12 Mar 2011 16:26:00 +0800</pubDate><description><![CDATA[<br />一、预备知识—程序的内存分配  <br />  一个由C/C++编译的程序占用的内存分为以下几个部分  <br />  1、栈区（stack）—   由编译器自动分配释放   ，存放函数的参数值，局部变量的值等。其  <br />  操作方式类似于数据结构中的栈。  <br />  2、堆区（heap）   —   一般由程序员分配释放，   若程序员不释放，程序结束时可能由OS回  <br />  收   。注意它与数据结构中的堆是两回事，分配方式倒是类似于链表，呵呵。  <br />  3、]]></description><category></category></item><item><title><![CDATA[Const，Const函数，Const变量，函数后面的Const (zz) ]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/6241626</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/6241626</guid><author>driversmith</author><pubDate>Fri, 11 Mar 2011 23:58:00 +0800</pubDate><description><![CDATA[转自http://www.cnblogs.com/Fancyboy2004/archive/2008/12/23/1360810.htmlConst，Const函数，Const变量，函数后面的Const (zz)<br />关键字：Const，Const函数，Const变量，函数后面的Const<br /> <br />看到const 关键字，C++程序员首先想到的可能是const 常量。这可不是良好的条件反射。如果只知道用const 定义常量，那么相当于把火药仅用于制作鞭炮。const 更大的魅力是它可以]]></description><category></category></item><item><title><![CDATA[C/C++中 malloc和new区别]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/6237136</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/6237136</guid><author>driversmith</author><pubDate>Thu, 10 Mar 2011 13:33:00 +0800</pubDate><description><![CDATA[<br />　　1，malloc与free是C++/C语言的标准库函数，new/delete是C++的运算符。它们都可用于申请动态内存和释放内存。<br />　　2，对于非内部数据类型的对象而言，光用maloc/free无法满足动态对象的要求。对象在创建的同时要自动执行构造函数，对象在消亡之前要自动执行析构函数。由于malloc/free是库函数而不是运算符，不在编译器控制权限之内，不能够把执行构造函数和析构函数的任务强加于malloc/free.<br />　　3，因此C++语言需要一个能完成动态内存分配]]></description><category></category></item><item><title><![CDATA[指针的大小--sizeof问题]]></title><link>https://blog.youkuaiyun.com/driversmith/article/details/6236893</link><guid>https://blog.youkuaiyun.com/driversmith/article/details/6236893</guid><author>driversmith</author><pubDate>Thu, 10 Mar 2011 11:42:00 +0800</pubDate><description><![CDATA[转自http://sexycoding.javaeye.com/blog/398601指针的大小是问：一个指针变量占用多少内存空间？ <br /><br />分析：既然指针只是要存储另一个变量的地址，。注意，是存放一变量的地址，而不是存放一个变量本身，所以，不管指针指向什么类型的变量，它的大小总是固定的：只要能放得下一个地址就行！（这是一间只有烟盒大小的“房间”，因为它只需要入一张与着地址的纸条）。 <br /><br />存放一个地址需要几个字节？答案是和一个 int 类型的大小相同：4字节。 <br /]]></description><category></category></item></channel></rss>