BOOLEAN MmIsAddressValid( _In_PVOID
VirtualAddress);ParametersVirtualAddress[in]A pointer to the nonpaged virtual
address to check. The caller must e....
分类:
其他好文 时间:
2014-05-09 11:51:40
阅读次数:
535
http://acm.hust.edu.cn/vjudge/contest/view.action?cid=45301#problem/A题意:有n个人,k个理发师一。每个人需要理两次头发。每人有到达时间和他们等待的最大时间。求每个人能不能在他们等待的最长时间之前理完发。如果能,输出他理发的时刻。题...
分类:
其他好文 时间:
2014-05-06 00:22:52
阅读次数:
334
1、ifconfig eth0 promisc 设置eth0为混杂模式。ifconfig eth0
-promisc 取消它的混杂模式botnet@botnet-virtual-machine:~$ ifconfigeth0 Link
encap:Ethernet HWaddr 00:0...
分类:
其他好文 时间:
2014-05-06 00:09:59
阅读次数:
625
1.CSS3 边框:通过 CSS3,能够创建圆角边框,向矩形添加阴影,使用图片来绘制边框,如border-radius;box-shadow;border-image
2.CSS3 背景:CSS3 包含多个新的背景属性,它们提供了对背景更强大的控制。background-size;background-origin
3.CSS3 文本效果:CSS3 包含多个新的文本特性。tex...
分类:
Web程序 时间:
2014-05-05 13:12:25
阅读次数:
437
Post-Recovery Test Run Options Screen When you
clear the Add another recovery operation check box in the Recovery Operation
screen and click next, the...
分类:
其他好文 时间:
2014-05-04 19:37:19
阅读次数:
571
加快Android模拟器运行速度本文部分参考,原文:http://www.imzzy.com/andorid-virtual-device-intel-hardware-accelerated.html安装英特尔硬件加速执行管理器可以让安卓模拟器加快运行速度。原文:http://www.imzzy....
分类:
移动开发 时间:
2014-05-04 10:41:12
阅读次数:
480
劳动节最后一天没事,想捣鼓一下BT5破解无线wep/wpa,BT5+virtual
box早已准备就绪,上网专门找了一些资料,并买了一个据评测很兼容的usb网卡tp-link
wn722n,芯片代号AR9271,本来想着这一下午可有趣了,没想到事情变的比我想的更有趣。。。首先是惊奇的发现tl这个us...
分类:
其他好文 时间:
2014-05-04 09:56:13
阅读次数:
278
在派生类中序列化一个基类
假如有一个基类如下:
class student_info
{
public:
student_info() {}
virtual ~student_info() {}
student_info(const std::string& sn, const std::string& snm, const std::string& sg)
: name_(sn),...
分类:
其他好文 时间:
2014-05-03 21:41:12
阅读次数:
356
本篇是boost::serialization 用基类指针转存派生类(错误多多,一波三折)的姊妹篇,这里只不过做一个总结。
先来看一个基类
class base_class
{
public:
base_class(int m=0) : base_member_(0) {}
virtual ~base_class() {}
virtual void print_data() = 0;
...
分类:
其他好文 时间:
2014-05-03 21:24:33
阅读次数:
247
boost::serialization 也支持c++的多态,这样我们就可以通过使用基类的指针来转存派生类,
我们接着上一篇(
boost::serialization(2)序列化基类
)的例子来看:
基类和派生类的代码如下:
class student_info
{
public:
student_info() {}
virtual ~student_info() {}
s...
分类:
其他好文 时间:
2014-05-03 21:08:18
阅读次数:
280