KMP算法求串内匹配数,计数时返回next[]位置。Problem Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. H...
分类:
其他好文 时间:
2015-02-01 19:11:04
阅读次数:
228
Unity3D如果开发Windows Store的游戏,一般需要真机或者模拟器来调试,本文主要讲解下如何把程序发布到Surface真机上进行调试。首先第一步肯定是要在Unity3D中将项目build出来:那么接下来就要依靠Visual Studio 2013来帮助我们调试Windows Store的...
分类:
编程语言 时间:
2015-02-01 00:35:32
阅读次数:
352
对于Unity中的表面着色器(Surface Shader),它的代码整体结构如下所示:
Shader "name" {
Properties {
// 第一部分
}
SubShader {
// 第二部分
}...
分类:
编程语言 时间:
2015-01-31 21:59:44
阅读次数:
251
就在刚才我在看线程方面的东西时候,看见一段这样的代码
package book.thread;
public class Priority {
static class MyThread extends Thread{
private int ID = 0;
public MyThread(int id){
this.ID = id;
}
public void...
分类:
其他好文 时间:
2015-01-31 16:21:45
阅读次数:
221