1 using UnityEngine; 2 using System.Collections; 3 4 public class GameMangger : MonoBehaviour { 5 public static int GAMESTATE_MENU = 0; //游戏菜单状态...
分类:
其他好文 时间:
2015-11-08 19:24:12
阅读次数:
317
1 using UnityEngine; 2 using System.Collections; 3 4 public class pipe : MonoBehaviour { 5 void Start() { 6 RandomGeneratePosition(); 7 ...
分类:
其他好文 时间:
2015-11-08 19:22:49
阅读次数:
210
1 using UnityEngine; 2 using System.Collections; 3 4 public class Pipeupdown : MonoBehaviour { 5 public AudioSource hitMusic; 6 public Audio...
分类:
其他好文 时间:
2015-11-08 19:18:25
阅读次数:
152
1 using UnityEngine; 2 using System.Collections; 3 4 public class bird : MonoBehaviour { 5 public float timer = 0; 6 public int freamNumbuer...
分类:
其他好文 时间:
2015-11-08 19:14:25
阅读次数:
159
1 using UnityEngine; 2 using System.Collections; 3 4 public class FollowBird : MonoBehaviour { 5 private GameObject bird; 6 private Transfor...
分类:
其他好文 时间:
2015-11-08 19:08:25
阅读次数:
210
Given an array of integers, every element appears three times except for one. Find that single one.Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using ex...
分类:
其他好文 时间:
2015-11-08 15:21:37
阅读次数:
195
Given an array of integers, every element appears twice except for one. Find that single one.Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using extra me...
分类:
其他好文 时间:
2015-11-08 15:20:47
阅读次数:
176
文件重定向
#include
using namespace std;
void main()
{
char str[30] = { 0 };
cin >> str;
cout << str;
system(str);
cerr << "error for you";
cin.get();
cin.get();
}
键盘输入流
#include
#incl...
分类:
编程语言 时间:
2015-11-08 15:16:44
阅读次数:
352
划分树 求一段区间第K大值 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int MAXN=100010; 8 int tree[30][MAXN]; 9 int sorted[MAXN];....
分类:
其他好文 时间:
2015-11-08 14:50:08
阅读次数:
175
#include #include using namespace std;using namespace cv;//opencv3.0 alpha加载并播放视频 2015.11.07int main(int argc, char* argv[]){ const char* vedioName...
分类:
其他好文 时间:
2015-11-08 14:34:19
阅读次数:
284