There arenpeople standing in a line, playing a famous game called ``counting". When the game begins, the leftmost person says ``1" loudly, then the se...
分类:
其他好文 时间:
2014-07-19 11:33:34
阅读次数:
383
1、配置:mongod --dbpath=D:\MongoDB\data mongo2、基本的增删查改 find() update()-- 整体更新,局部更新。 修改器: $inc db.person.update({"age":23},{$inc:{"salary":1000}})...
分类:
数据库 时间:
2014-07-19 11:17:44
阅读次数:
250
结构体定义没搞明白,一直WA,终于AC了,真是高兴呀
代码如下:
#include
#include
#include
struct student
{
char id[30];
int score;
}person[1001];
int cmp(const void *a,const void *b)
{
struct student *aa=(struct studen...
分类:
其他好文 时间:
2014-07-19 08:15:25
阅读次数:
194
Counting Game There are n people standing in a line, playing a famous game called ``counting". When the game begins, the leftmost person says ``1" lo....
分类:
其他好文 时间:
2014-07-19 00:20:58
阅读次数:
245
using System;namespace ZhuaJiu { class ZhuaJiu { public static void Main() { string[] person; int personNum; ...
分类:
其他好文 时间:
2014-07-18 23:37:48
阅读次数:
234
Therefore, a person who applies for a longer time than other bags? Other materials. In general, heavy canvas material is resistant to water and a grea...
分类:
其他好文 时间:
2014-07-18 15:05:26
阅读次数:
317
面向对象复习。构造函数用来创建对象。 Person p2 = new Person("新人", 18); public Person(string name, int age) { }
分类:
其他好文 时间:
2014-07-18 14:03:30
阅读次数:
192
实体类:@XStreamAlias("person")public class PersonBean {@XStreamAlias("firstName")private String firstName;@XStreamAlias("lastName")private String lastNam...
分类:
其他好文 时间:
2014-07-18 08:22:51
阅读次数:
217
1、某些数据库在外面是不能使用的。2、ContentProvider让A程序中的数据能让B程序使用3、ContentProvider主要是共享数据。可以添加ContentObserver来观察数据的变化4、中的authorities主要用于区分不同的provider5、content://cn.itcast.aqlite.provider((/person)/id)解析:content:// ...
分类:
移动开发 时间:
2014-07-17 19:28:01
阅读次数:
295
面向对象。this 指的是我自己的名字,我自己的XXX。 class Program { static void Main(string[] args) { Person p1=new Person(); p1.Ag...
分类:
其他好文 时间:
2014-07-17 18:30:10
阅读次数:
223