using UnityEngine;using System.Collections;[ExecuteInEditMode]public class ControlParticle : MonoBehaviour { public int renderQueue = 30000; ...
分类:
其他好文 时间:
2015-07-01 23:22:08
阅读次数:
146
#include
using namespace std;
template
class A
{
public:
enum{ result = N + A::result};
};
template<>
class A
{
public:
enum{result=1};
};
int main()
{
cout << A...
分类:
编程语言 时间:
2015-07-01 22:13:44
阅读次数:
246
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using Stock.BLL;using System.Text.RegularExpressio...
分类:
其他好文 时间:
2015-07-01 22:08:22
阅读次数:
117
tinyxml是个高效精简的xml解析开源代码.针对tinyxml直接使用对于对xml不是很熟悉的入门新手来说,有些概念难以理解,因此我将其封装后,供大家使用.头文件:#include "tinystr.h"#include "tinyxml.h"using namespace std; class...
分类:
其他好文 时间:
2015-07-01 22:02:14
阅读次数:
131
1.20:01:56 update test.work_info set sex = 'F' where name = 'Yng' Error Code: 1175. You are using safe update mode and you tried to update a table wit...
分类:
数据库 时间:
2015-07-01 22:00:16
阅读次数:
296
第一个的代码: 1 #include 2 #include 3 4 using namespace std; 5 6 bool isLegal(int i, int j, vector ¤t) 7 { 8 int size = current.size(); 9 in...
分类:
其他好文 时间:
2015-07-01 21:57:48
阅读次数:
115
1 /* 2 约瑟环问题其实就是一个循环链表的问题 3 */ 4 #include 5 #include 6 using namespace std; 7 8 //动态规划的思想,有点类似解决主元素问题的思路 9 //巧妙的用0,1数组代替链表节点的删除 10 int...
分类:
其他好文 时间:
2015-07-01 21:52:54
阅读次数:
121
#include
#include
#include
#include
#include
using namespace std;
class Sales_data
{
friend std::istream& operator>>(std::istream&, Sales_data&);
friend std::ostream& operator<<(std::ost...
分类:
编程语言 时间:
2015-07-01 20:43:54
阅读次数:
140
题意:人与人之间可以认识或不认识,可以单向认识也可以双向认识,给你他们认识的关系,让你将他们分成两组,每组里面的任意两个人都认识。
转化一下,将双向认识的人之间不连边,单向认识或不认识的人连边,然后判二分图就行了。
#include
#include
#include
#include
using namespace std;
const int maxn=105;
int maze[maxn...
分类:
其他好文 时间:
2015-07-01 20:41:55
阅读次数:
115
概述
定义一个范围,将在此范围之外释放一个或多个对象
当做别名(命名空间)
当做try-finally处理
三种方式...
分类:
其他好文 时间:
2015-07-01 18:34:48
阅读次数:
111