ok,今天开始接触正式的代码了,几万行的代码,直接就晕了,不知道什么时候才能熟悉过来。
按照自己的经验,熟悉代码方式,最好不过debug了
和eclipse不同的是 Unity 和编代码的MonoDevelop是两个软件,着实让我的脑细胞有点转不过来(固化思维)。
First,如何Debug。
打开Unity,菜单栏 unity-》Preferences->External Tools 第...
分类:
其他好文 时间:
2014-08-29 18:26:18
阅读次数:
247
题目来源:URAL 1176. Hyperchannels
题意:求补图的欧拉回路
思路:模版
#include
#include
#include
using namespace std;
const int maxm = 40010;
const int maxn = 1010;
int first[maxn], cnt;
struct edge
{
int u, v, next...
分类:
其他好文 时间:
2014-08-29 16:02:48
阅读次数:
162
<ul> ??<li>John</li> ??<li>Karl</li> ??<li>Brandon</li> </ul> 获取第一个元素:??$("ul li:first-child") <div id="getfirst">? ??<ul> ????<li>John</li> ????<li>Karl</li> ????<li...
分类:
Web程序 时间:
2014-08-29 13:16:48
阅读次数:
220
每个表格输入都有一个form对象可以作为参数,如:...function showIt(theForm){ alert(theForm["zipcode"].value);} this.form表示该表格的form对象作为参数被传进函数,在showIt()函数中用"zipcode"来引用这个对...
分类:
编程语言 时间:
2014-08-29 13:01:57
阅读次数:
212
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.public cl...
分类:
其他好文 时间:
2014-08-29 01:16:36
阅读次数:
267
1 /* 2 fill 3 将[first, last) 内所有元素该填新值 4 */ 5 template 6 void fill (ForwardIterator first, ForwardIterator last, const T& value) { 7 fo...
分类:
其他好文 时间:
2014-08-28 21:04:06
阅读次数:
206
In this paper, a new method of human detection based on depth map from 3D sensor Kinect is proposed. First, the pixel filtering and context filtering ...
分类:
移动开发 时间:
2014-08-28 19:44:45
阅读次数:
445
【原文地址】Code-First Development with Entity Framework 4 .NET 4随带发布了一个改进版的Entity Framework(EF)— 一个位于System.Data.Entity命名空间的数据访问函数库。 当Entity Framework在.NET...
分类:
其他好文 时间:
2014-08-28 19:42:15
阅读次数:
426
本篇随笔目录: 1、外键列名默认约定 2、一对多关系 3、一对一关系 4、多对多关系 5、一对多自反关系 6、多对多自反关系 在关系数据库中,不同表之间往往不是全部都单独存在,而是相互存在关联的。两个不同表之间可以存在外键依赖关系,一个表自身也可以有自反关系(表中的一个字段引用主键...
分类:
其他好文 时间:
2014-08-28 17:54:55
阅读次数:
372
#!/bin/bash
######the system first start configuretion #####for install
####copy right by donglei##############
#1、配置sysctl
mv /etc/sysctl.conf /etc/sysctl.bak
echo "###########################...
分类:
系统相关 时间:
2014-08-28 16:14:09
阅读次数:
279