1.IDE准备 从Android Developers官网下载Eclipse ADT;http://developer.android.com/sdk/index.html 下载完成后解压adt-bundle-windows-x86_64-20140702.zip, 参照Android Develo...
分类:
移动开发 时间:
2014-10-07 00:32:50
阅读次数:
290
#include
char get_choice(void);
char get_first(void);
int get_int(void);
void count(void);
int main(){
int choice;
void count (void);
while ((choice =get_choice())!='q')
{
switch(choice)
{...
分类:
编程语言 时间:
2014-10-06 18:06:50
阅读次数:
183
First of all, you should install a clean Ubuntu Server (Amd-64) on your server. (Version 14.04 is strongly recommended for the best compatibility)Get ...
分类:
其他好文 时间:
2014-10-06 13:56:40
阅读次数:
187
Analysis of Algorithms:First part of the course is focused on analysis.Second part of the course is focused on design.The analysis of algorithm is the...
分类:
其他好文 时间:
2014-10-06 13:21:00
阅读次数:
182
Introduction Ethernet 是过去30年以来最为成功的局域网(local area networking)技术。 1. First widely used LAN technology (第一次被广泛使用的局域网技术) 2. kept up with speed race: 10 M...
分类:
Web程序 时间:
2014-10-06 12:29:20
阅读次数:
515
树链剖分基础题
#include
#include
#include
using namespace std;
const int maxn = 10010;
struct edge
{
int v, next;
}e[maxn*2];
int first[maxn], cnt;
int top[maxn], dep[maxn], sz[maxn], f[maxn], son[maxn...
分类:
其他好文 时间:
2014-10-06 02:55:39
阅读次数:
179
在挑战程序设计竞赛中看到调用pair,就上网查了一下类型申明有两种template struct pairtypedef pairt p;//p为任意的调用起来就是p.first=..p.second=..当然,如果是是用第一种申明方式的话,还要加上pairp;这个可以和queue连用,这样的话,....
分类:
其他好文 时间:
2014-10-06 01:53:59
阅读次数:
198
merge原型:std::mergedefault (1)template OutputIterator merge (InputIterator1 first1, InputIterator1 last1, InputIterator2 first...
分类:
其他好文 时间:
2014-10-05 18:57:28
阅读次数:
140
pair实质上是一个结构体,其主要的两个成员变量是first和second,这两个变量可以直接使用。初始化一个pair可以使用构造函数(如上),也可以使用make_pair函数,一般make_pair都使用在需要pair做参数的位置,可以直接调用make_pair生成pair对象。 另一个使用的方面就是pair可以接受隐式的类型转换,这样可以获得更高的灵活度。...
分类:
其他好文 时间:
2014-10-05 18:34:08
阅读次数:
150
??
Entity Framwork(实体框架,简称EF)是ORM(Object Relational Mapping,对象映射关系)的一个解决方案。
EF允许项目将数据库的表映射为实体,并封装了操作方法,方便开发人员直接操作数据库。
EF有三种开发模式,分别是:
Database First(数据库先行): 将已存在的数据库中的表映射为实体;
Code First(代码先行):先编写代...
分类:
其他好文 时间:
2014-10-05 17:07:28
阅读次数:
167