D3D9 GPU HacksI’ve been trying to catch up what hacks GPU vendors have exposed in Direct3D9, and turns out there’s a lot of them!If you know more hack...
分类:
其他好文 时间:
2015-04-16 21:24:03
阅读次数:
293
Node.js has generally caused two reactions in people I've introduced it to. Basically people either "got it" right away, or they ended up being very c...
分类:
Web程序 时间:
2015-04-16 19:47:09
阅读次数:
211
这个算法的 思想 根 求 最小生成树算法 普里姆(Prim)算法 极其相似。迪杰斯算法 是求 一个顶点 到其他 顶点的 最短路径算法。
下面 上代码:(用的是 邻接矩阵 表示法)
//迪杰斯特拉 最短路径。
//从 vex顶点 到其他 顶点的 最短路径
void shortestPath_Dij(MGraph g,char vex){
int loc = graphLocation(g,ve...
分类:
编程语言 时间:
2015-04-14 16:42:10
阅读次数:
171
1.要删除容器中有特定之的所有对象:如果容器是vector、string或deque,则使用erase-remove习惯用法。如果容器是list,则使用list::remove。如果容器是一个标准关联容器,则使用它的erase成员函数。2.要删除容器中满足特定判别式(条件)的所有对象:如果容器是ve...
分类:
其他好文 时间:
2015-04-13 18:45:53
阅读次数:
125
1. 迭代器(iterator)是一中检查容器内元素并遍历元素的数据类型。(1) 每种容器类型都定义了自己的迭代器类型,如vector:vector::iterator iter;这条语句定义了一个名为iter的变量,它的数据类型是由vector定义的iterator类型。(2) 使用迭代器读取ve...
分类:
编程语言 时间:
2015-04-12 17:29:50
阅读次数:
224
Problem Description:
After years as a brick-layer, you've been called upon to analyze the structural integrity of various brick walls built by the Tetrad Corporation. Instead
of using regular-sized ...
分类:
其他好文 时间:
2015-04-11 09:00:12
阅读次数:
173
在调用用推送的时候报了:
You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist....
分类:
移动开发 时间:
2015-04-08 18:06:08
阅读次数:
347
package Iterator;import java.util.*;/**实现创建具体迭代器角色的接口, 这个具体迭代器角色与该容器的结构相关**/public class ConcreteContainer implements Container { private Vector ve...
分类:
其他好文 时间:
2015-04-06 21:41:57
阅读次数:
257
题目:输入一个链表的头结点,反转该链表,并返回反转后链表的头结点。链表结点定义如下:
struct ListNode
{
int m_nKey;
ListNode* m_pNext;
};
c语言实现
/*
File : rlink.c
Author :
Date : 2015/4/4
platform : windows7 x86_64
ve...
分类:
其他好文 时间:
2015-04-04 22:40:01
阅读次数:
260
打开EBS的form,系统报错,中文提示信息是:FRM-92095:oracle jinitiator版本太旧,请安装版本1.1.8.2或更高版本;如果是英文环境,则会报错:FRM-92095: Oracle JInitiator version too low. Please install ve...
分类:
数据库 时间:
2015-04-03 15:05:14
阅读次数:
212