//abstract class和interface有什么区别?含有abstract修饰符的class即为抽象类,abstract 类不能创建的实例对象。含有abstract方法的类必须定义为abstract class,abstract class类中的方法不必是抽象的。abstract cl.....
分类:
其他好文 时间:
2015-10-30 18:55:18
阅读次数:
121
前言:目前redhat推出了openstack的课程—CL210,主要针对企业的openstack的管理和应用,其目前应用于生产的版本是RHOSP6,即社区版的Juno,其中CL210中需要有4台虚拟机,分别是workstation、ceph、servera和serverb,对于机器的硬件要求较高,且需要有上课环境,本文主要针对CL..
分类:
其他好文 时间:
2015-10-29 16:26:25
阅读次数:
672
小白自学python。from sys import exit from random import randintclass Scene(object): def enter(self): print "it's no use" exit(1) cl...
分类:
编程语言 时间:
2015-10-25 20:50:09
阅读次数:
253
虚函数表是C++类中存放虚函数的一张表,理解虚函数表对于理解多态很重要。 本次使用的编译器是VS2013,为了简化操作,不用去操作函数指针,我使用到了VS的CL编译选项来查看类的内存布局。 CL使用方法: (1)在开始菜单中的vs目录下打开"Visual Studio Tools"目录,找...
分类:
编程语言 时间:
2015-10-25 19:18:37
阅读次数:
250
看下Api文档的一些说明 public?class?Object Class Object is the root of the class hierarchy. Every class has Object as a superclass. All objects, including arrays, implement the methods of this cl...
分类:
编程语言 时间:
2015-10-25 01:05:48
阅读次数:
312
#ifndef_ThreadPool_H_#define_ThreadPool_H_#pragmawarning(disable:4530)#pragmawarning(disable:4786)#include#include#include#includeusingnamespacestd;cl...
分类:
编程语言 时间:
2015-10-23 18:00:59
阅读次数:
220
The C5 Generic Collection Libraryfor C# and CLIhttps://github.com/sestoft/C5/The C5 Generic Collection LibraryC5 is a library of generic collection cl...
交叉连接(cross join):该连接产生的结果集笛卡尔积a有7行,b有8行 a的第一行与b的每一行进行连接,就有8条a得第一行7*8=56条select a.real_name,s.unix_host,s.os_usernamefrom account a cross join service ...
分类:
其他好文 时间:
2015-10-22 23:54:27
阅读次数:
252
有推荐人/没有推荐人的recommender_id is null / is not null谁是推荐人=他的id是别人的recommender_id=某个人的recommender_id是他的id谁不是推荐人 = 他的id跟所有人的recommender_id不一样//哪些os账号的开通时间是最早...
分类:
其他好文 时间:
2015-10-22 23:49:00
阅读次数:
180
1 #include 2 #include 3 using namespace std; 4 5 template 6 class LinkStack; 7 template 8 class StackNode 9 { 10 public: 11 friend cl...
分类:
其他好文 时间:
2015-10-22 21:19:42
阅读次数:
261