1 //goal: heap sort 2 //time: 9/7/2014 3 //author: zrss 4 //reference: introduction to algorithms 5 6 #include 7 #include 8 9 #define MAX_DATA 10...
分类:
其他好文 时间:
2014-09-09 10:29:28
阅读次数:
233
我们已经知道在C++中,对象变量直接存储的是对象的值。这是与Java不同的,在Java中对象变量存储的是一个地址,该地址指向对象值实际存储的地方。有时在C++中也需要实现这样的布置,这就用到了指针pointer。在 C++中,一个指向对象的变量叫做指针。如果T是一种数据类型,则
T* 是指向这种数据类型的指针。 这里重点介绍C++与Java的不同,要详细了解C++中指针的使用
就像 Java中...
分类:
编程语言 时间:
2014-09-07 22:32:35
阅读次数:
227
A processor including a virtualization system of the processor with a memory virtualization support system to map a reference to guest-physical memory...
分类:
其他好文 时间:
2014-09-07 13:26:45
阅读次数:
285
//should set firefox path //FirefoxBinary binary=new FirefoxBinary(new File("C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe")); ...
分类:
其他好文 时间:
2014-09-07 02:12:24
阅读次数:
220
This document is the user manual for the Yasm assembler. It is intended as both an introduction and a general-purpose reference for all Yasm users.
1....
分类:
其他好文 时间:
2014-09-06 23:44:05
阅读次数:
686
1,postgresql学习uri推荐 http://www.php100.com/manual/PostgreSQL8/ http://www.php100.com/manual/PostgreSQL8/reference.html http://www.yiibai.com/html/postg...
分类:
数据库 时间:
2014-09-06 21:18:23
阅读次数:
422
智能指针(smart pointer)是存储指向动态分配(堆)对象指针的类,用于生存期控制,能够确保自动正确的销毁动态分配的对象,防止内存泄露。它的一种通用实现技术是使用引用计数(reference count)。智能指针类将一个计数器与类指向的对象相关联,引用计数跟踪该类有多少个对象共享同一指针。...
分类:
编程语言 时间:
2014-09-06 10:53:53
阅读次数:
374
1.Java中的数据类型分为:1)原生类型(primitive Data type)2.)引用类型(对象类型) (Reference Type)1.变量和常量:常量:就是值不会变化的量;变量:就是值可以变化的;3.如果定义变量:变量类型 变量名;int a;4.变量的赋值:a = 2;上的3和4中定...
分类:
编程语言 时间:
2014-09-05 23:43:42
阅读次数:
245
关键代码: /* *@description 百度地图 JAVASCRIPT API V2.0 大众版 工具类 *@author YanZhiwei *@see http://developer.baidu.com/map/reference/index.php *@email Yan.Zhiwei...
分类:
编程语言 时间:
2014-09-05 19:41:31
阅读次数:
740
最近在学习osgi,在练习HttpService的过程中,一直出现“A null service reference is not allowed”这样的报错,代码本身没有问题,在网上也搜了不少地方,在《深入理解OSGi》、《osgi原理与最佳实践》这两本书中也没有找到具体的解决方法。万般无奈,只好...
分类:
其他好文 时间:
2014-09-05 18:01:01
阅读次数:
127