10 2012 档案

用了Rime输入法之后,发现IE要关闭保护模式才能输入
摘要:在工具-->internet选项-->安全标签中不要选择启用保护模式即可 阅读全文

posted @ 2012-10-30 09:42 Orz.. 阅读(161) 评论(0) 推荐(0)

继承一个虚类的时候要小心是,并使其实例化时.必须使其全实重写了纯虚的方法...类定义的位置
摘要:http://stackoverflow.com/questions/7352706/cannot-allocate-an-object-of-abstract-type-errorIn C++ a class with at least onepure virtual functionis calledAbstract classand you cannot create objects of that class, You can only have pointers or references to it.If you are deriving from an Abstract clas 阅读全文

posted @ 2012-10-30 00:41 Orz.. 阅读(545) 评论(0) 推荐(0)

那个蛋痛的list的remove_if中用到的对像函数
摘要:题目够长的....其实有时.要小用list来作一些过滤..我知道list的随机查找不太好...可是有时写好了,,性能上也没有太多要求..就....所以我就直接remove_if...先在http://www.cplusplus.com/reference/stl/list/remove_if/找了个示例代码如下// list::remove_if#include <iostream>#include <list>using namespace std;// a predicate implemented as a function:bool single_digit ( 阅读全文

posted @ 2012-10-27 23:53 Orz.. 阅读(615) 评论(0) 推荐(0)

想在win7 32bit的情况下装个64位虚拟机的想法
摘要:首先在win下面装了个cpu-z查看指令集是否包含 EM64T (INTEL)或者X86_64(AMD)指令结果有一个EM64T,,,OK,,有戏....之后再参考下面的文章http://blog.csdn.net/bill_lee_sh_cn/article/details/3963185在VMWare WorkStation上安装64位操作系统2009-03-06 14:3818428人阅读评论(7)收藏举报 VMWare WorkStation 6.0可以支持安装64位操作系统,网上看了不少帖子说宿主的机器操作系统也需要是64位的,其实也不是,可以通过打开CPU的Virtualizati 阅读全文

posted @ 2012-10-27 10:36 Orz.. 阅读(1396) 评论(0) 推荐(0)

在Linux的STL中用hash_map
摘要:1 #ifdef __GNUC__ 2 #include <ext/hash_map> 3 #else 4 #include <hash_map> 5 #endif 6 7 8 namespace ... 阅读全文

posted @ 2012-10-25 09:44 Orz.. 阅读(404) 评论(0) 推荐(0)

mssql_exec少了对括号查了我老半天
摘要:declare @sql varchar(4096)set @sql = '.....';exec @sql会出错要exec (@sql)才可以 阅读全文

posted @ 2012-10-18 15:32 Orz.. 阅读(243) 评论(0) 推荐(0)

原来makefile可以写得如此精简
摘要:TARGET = insert_sortCFLAGS = -g3all: $(TARGET).PHONY:clean: $(RM) $(TARGET) a.out core *.o下面是执行结果...[root@bs111 pg_019]# makemake: Nothing to be done for `all'.[root@bs111 pg_019]# make cleanrm -f insert_sort a.out core *.o[root@bs111 pg_019]# makecc -g3 insert_sort.c -o insert_sortinser... 阅读全文

posted @ 2012-10-10 15:27 Orz.. 阅读(207) 评论(0) 推荐(0)

告别google.com.hk的龟速
摘要:20141023更新,到现在为止我服了,一切其它办法都是浮云好吧,直接上月光博客的办法吧http://www.williamlong.info/archives/3983.html Google持续被封,很多人发邮件问我怎么才能访问Google,我早先曾经写了多篇文章介绍如何访问Google,今天... 阅读全文

posted @ 2012-10-10 13:57 Orz.. 阅读(4038) 评论(0) 推荐(0)

MSSQL_打开xp_cmdshell
摘要:1...--------------------------------------------------------------------------EXEC master..xp_cmdshell 'BCP viewfocus..v1 in F:\sql\v1.txt -c -T'报错.....2.打开--------------------------------------------------------------------------------------------------sp_configure 'show advanced option 阅读全文

posted @ 2012-10-09 16:58 Orz.. 阅读(236) 评论(0) 推荐(0)

sql弄个表结构出来..
摘要:发现可以用select top 8 * into....来弄个表结构出来. 阅读全文

posted @ 2012-10-09 16:51 Orz.. 阅读(119) 评论(0) 推荐(0)

在win下的cmd 的find
摘要:在微软下的cmd中我老是不小心的grep了出来...如果一时没有装gow cygwin等gnu等一系列东东的时候..发现有时还是很不方便的..所以看了一下.还可以勉强地找到一个find来用...(要注意与unix下找命令find命令区别开来)所以基本上.我要看win ser 2k3系统启动了多久..我只要输入下面的命令就可以了..systeminfo |find "时间"系统启动时间: 19 天 23 小时 45 分 27 秒 阅读全文

posted @ 2012-10-09 15:53 Orz.. 阅读(235) 评论(0) 推荐(0)

查看系统已运行了多久
摘要:闲来无事..一时间心血来潮...看一下怎样查系统运行了多久...-----------------------------------------------------linux-----------------------------------------------------------------先看一下linux下是怎样弄吧..from:http://bbs.freesinno.com/viewtopic.php?t=66Linux下如何查看系统启动时间和运行时间由copywu于 2009年 1月 7日 16:141.uptime命令输出:16:11:40 up 59 days, 阅读全文

posted @ 2012-10-09 15:02 Orz.. 阅读(262) 评论(0) 推荐(0)

导航