A method implemented by a network device residing in a service domain, wherein the network device comprises an information centric networking (ICN) tr...
分类:
Web程序 时间:
2014-07-25 02:58:55
阅读次数:
596
Google Custom Search Engines use a timer to check the hash against a previous value, whilst the child iframe on a seperate domain updates the parent‘s location hash to contain the size of the ifram...
分类:
Web程序 时间:
2014-07-24 12:31:35
阅读次数:
289
这个错误是Eclipse里面的一个bug,我们通过如下的设置就可以解决它。打开eclipse安装目录下的eclipse.ini文件:将其中的256m改为128m,512m改为256m,1024m改为512m即可。修改后的文件内容如下:-startupplugins/org.eclipse.equin...
分类:
编程语言 时间:
2014-07-24 09:47:43
阅读次数:
245
一、问题的提出现假设需要生产两种产品或创建两个对象,我们一般的方法如下代码所示://protoProduct.hclass ProductA{public: virtual void operation();};class ProductB{public: virtual void op...
分类:
其他好文 时间:
2014-07-24 00:50:48
阅读次数:
276
1、创建VHost 记住Homepage,打开VHost DNS标签页,创建Virtual Host,如下图:2、Wcp上传文件 用户名是“sf用户名,sf项目名”,项目名指的是sf的Unixname而不是name。 登陆后,上传文件到htdocs目录。3、打开网站来自为知笔记(Wiz)
分类:
其他好文 时间:
2014-07-23 22:18:47
阅读次数:
327
Android的应用程序是基于virtual device运行的,在运行一个android的应用程序之前先要配置要virtual device点击上图中的按钮点击【new】选择device的型号,型号中包含了尺寸等信息,然后选择skin,点击【ok】就可以了。2,设置程序运行的device点击【ru...
分类:
移动开发 时间:
2014-07-23 20:38:46
阅读次数:
223
#include#includeusing namespace std;class A{public: virtual void fun1()=0; //纯虚函数 virtual void fun1(){coutfun1(); b->fun2(); return 0;}结果:B::fun0B:...
分类:
编程语言 时间:
2014-07-23 15:05:16
阅读次数:
179
面向对象编程概述
继承(Inheritance)
class Quote
{
public:
Quote(){cout<<"Quote的构造函数!"<<endl;}
string isbn() const {cout<<"Quote的isbn()调用!"<<endl; string s="Quote,isbn"; return s;}
virtual double ...
分类:
编程语言 时间:
2014-07-23 13:18:16
阅读次数:
314
一个有趣的问题:下列 类 sizeof大小class X{} //1class Y:public virtual X{} //4 or 8class Z:public virtual X{} // 4 or 8class A:public Y,public Z{} // 8 or 12主要原因:为....
分类:
编程语言 时间:
2014-07-23 12:55:26
阅读次数:
236
什么是跨域1、document.domain+iframe的设置2、动态创建script3、利用iframe和location.hash4、window.name实现的跨域数据传输5、使用HTML5 postMessage6、利用flash本文来自网络(http://f2e.me/200904/cr...
分类:
编程语言 时间:
2014-07-23 12:30:46
阅读次数:
296