<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lost HIT - Zealot&#039;s Blog &#187; problem</title>
	<atom:link href="http://blog.losthit.com/archives/tag/problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.losthit.com</link>
	<description>关注 linux/c/c++/python/web开发,互联网数据抓取与挖掘</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:27:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Windows下文件搜索软件：Search Everything介绍</title>
		<link>http://blog.losthit.com/archives/recommend-software-search-everything/</link>
		<comments>http://blog.losthit.com/archives/recommend-software-search-everything/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 15:46:37 +0000</pubDate>
		<dc:creator>Zealot</dc:creator>
				<category><![CDATA[Get Things Done]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[uac]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[工具]]></category>
		<category><![CDATA[网络工具]]></category>

		<guid isPermaLink="false">http://blog.losthit.com/?p=278</guid>
		<description><![CDATA[以下是百度百科的介绍 Search Everything是速度最快的文件搜索软件。百G盘几十万个文件，可以在几秒钟之内完成索引；文件名搜索瞬间呈现结果。支持中文，支持正则表达式，可以通过HTTP或FTP分... ]]></description>
			<content:encoded><![CDATA[<p>以下是百度百科的介绍</p>
<blockquote><p><a href="http://www.voidtools.com" target="_blank">Search Everything</a>是速度最快的文件搜索软件。百G盘几十万个文件，可以在几秒钟之内完成索引；文件名搜索瞬间呈现结果。支持中文，支持正则表达式，可以通过HTTP或FTP分享搜索结　　果。如果不满意Windows自带的搜索工具、Total Commander的搜索、Google 桌面搜索或搜索，如果正在使用或放弃了Locate32，都值得推荐这款体积小巧、免安装、免费、速度极快的文件搜索工具。</p></blockquote>
<div class="wp-caption alignleft" style="width: 287px"><img class=" " title="Search Everything snapshot" src="http://www.voidtools.com/sssmall.jpg" alt="Search Everything 截图" width="277" height="213" /><p class="wp-caption-text">Search Everything 截图</p></div>
<p><strong>最喜欢的几大特点</strong></p>
<ol>
<li>体积小</li>
<li>速度快</li>
<li>支持正则匹配等复杂搜索条件</li>
<li>实时更新（安装软件比较明显：能实时看到新增加的文件）</li>
<li>支持远程部署(http/ftp等方式)</li>
</ol>
<p><strong>对我来说</strong><strong>不算致命的几个限制</strong></p>
<ol>
<li>仅支持NTFS格式的硬盘分区</li>
<li>仅支持文件名搜索</li>
</ol>
<p>在windows vista/win7中都会有受限于UAC，每次启动时都会弹出提示框。取消UAC自然不合适，Search Everything官网的FAQ已经给出了解决办法：<a href="http://blogs.techrepublic.com.com/window-on-windows/?p=616" target="_blank">Make Vista launch UAC restricted programs at startup with Task Scheduler</a>。<br />
<strong> 基本思想是</strong>：把Search Everything配置到计划任务里，每次系统启动时自动打开Search Everything，最关键的一点是计划任务中可以设置“以最高权限运行”。<br />
具体步骤可以参考上述网址，该网页中步骤极其详细，其实只有简单的几步而已。</p>
<p>我的配置如下</p>
<ol>
<li>创建计划任务
<p><div id="attachment_271" class="wp-caption alignnone" style="width: 303px"><a href="http://blog.losthit.com/wp-content/uploads/2010/01/step-1-create-task.png"><img class="size-full wp-image-271" title="step 1 - create task" src="http://blog.losthit.com/wp-content/uploads/2010/01/step-1-create-task.png" alt="第一步 创建任务" width="293" height="199" /></a><p class="wp-caption-text">第一步 创建任务</p></div></li>
<li>简单设置计划任务名称等信息。关键是设置“以最高权限执行” 计划任务
<p><div id="attachment_272" class="wp-caption alignnone" style="width: 642px"><a href="http://blog.losthit.com/wp-content/uploads/2010/01/step-2-task-setting.png"><img class="size-full wp-image-272" title="step 2 - task setting" src="http://blog.losthit.com/wp-content/uploads/2010/01/step-2-task-setting.png" alt="第二步 设置计划任务，关键是“以最高权限运行”" width="632" height="531" /></a><p class="wp-caption-text">第二步 设置计划任务，关键是“以最高权限运行”</p></div></li>
<li>创建触发器，选择系统启动时触发操作
<p><div id="attachment_273" class="wp-caption alignnone" style="width: 603px"><a href="http://blog.losthit.com/wp-content/uploads/2010/01/step-3-create-trigger.png"><img class="size-full wp-image-273" title="step 3 - create trigger" src="http://blog.losthit.com/wp-content/uploads/2010/01/step-3-create-trigger.png" alt="第三步 创建触发器" width="593" height="513" /></a><p class="wp-caption-text">第三步 创建触发器</p></div></li>
<li>设定操作：启动程序Search Everything
<p><div id="attachment_274" class="wp-caption alignnone" style="width: 457px"><a href="http://blog.losthit.com/wp-content/uploads/2010/01/step-4-operation.png"><img class="size-full wp-image-274" title="step 4 - operation" src="http://blog.losthit.com/wp-content/uploads/2010/01/step-4-operation.png" alt="第四步 设置操作" width="447" height="265" /></a><p class="wp-caption-text">第四步 设置操作</p></div></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.losthit.com/archives/recommend-software-search-everything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++拷贝构造函数没有执行的问题</title>
		<link>http://blog.losthit.com/archives/cpp-copy-constructor-problem/</link>
		<comments>http://blog.losthit.com/archives/cpp-copy-constructor-problem/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 11:48:20 +0000</pubDate>
		<dc:creator>Zealot</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[constructor]]></category>
		<category><![CDATA[problem]]></category>

		<guid isPermaLink="false">http://zealot.hitidea.org/?p=89</guid>
		<description><![CDATA[问题是在这http://lilacbbs.com/forum/d.php?bid=66&#38;id=62395，想了半天想不明白 摘要就是 Fred z = Fred(3);时没有执行拷贝构造函数，查了标准手册才发现原来如此：会不会调用拷贝构造函数由具体编译器... ]]></description>
			<content:encoded><![CDATA[<p style="margin: 0in;font-family: SimSun;font-size: 10pt">问题是在这<a href="http://lilacbbs.com/forum/d.php?bid=66&amp;id=62395">http://lilacbbs.com/forum/d.php?bid=66&amp;id=62395</a>，想了半天想不明白</p>
<p style="margin: 0in;font-size: 10pt"><span style="font-family: SimSun" lang="zh-CN">摘要就是</span><span style="font-family: Calibri" lang="en-US"> Fred z = Fred(3);</span><span style="font-family: SimSun" lang="zh-CN">时没有执行拷贝构造函数，查了标准手册才发现原来如此：会不会调用拷贝构造函数由具体编译器实现决定：</span></p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">Standard C++98 12.8</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">15 Whenever a temporary class object is copied using a copy constructor, and this object and the copy have the</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">same cvunqualified</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">type, <span style="color: red">an implementation is permitted to treat the original and the copy as two different</span></p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt;color: red">ways of referring to the same object and not perform a copy at all, even if the class copy constructor or</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt"><span style="color: red">destructor have side effects.</span> For a function with a class return type, if the expression in the return statement</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">is the name of a local object, and the cvunqualified</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">type of the local object is the same as the function</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">return type, an implementation is permitted to omit creating the temporary object to hold the function return</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">value, even if the class copy constructor or destructor has side effects. In these cases, the object is</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">destroyed at the later of times when the original and the copy would have been destroyed without the optimization.</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">111) [Example:</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">class Thing {</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">public:</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">Thing();</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">~Thing();</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">Thing(const Thing&amp;);</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">Thing operator=(const Thing&amp;);</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">void fun();</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">};</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">Thing f() {</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">Thing t;</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">return t;</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">}</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">Thing t2 = f();</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">Here t does not need to be copied when returning from f. The return value of f may be constructed</p>
<p style="margin: 0in;font-family: SimSun;font-size: 10pt">directly into the object t2. ]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.losthit.com/archives/cpp-copy-constructor-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

