又到了总结的时间了,今天在云和学院学习了文件管理的一些运用及复习昨天学的里氏转换。今天我就总结下昨天遗留下的问题以及今天所学的知识。昨天遗留的问题里氏转换(父类转子类)例:在这里定义父类People,包含Name属性 子类:Student包含StadyNum属性,一个SsHi方法。People p....
备份mongodump -d dbname -o backup例如mongodump -d student -o backup恢复mongorestore -d dbname -o backup/dbname例如mongorestore -d student -o backup/student
分类:
数据库 时间:
2014-11-19 22:02:24
阅读次数:
172
题目详情:
http://student.csdn.net/mcs/programming_challenges?page=4
小强最近在学初等数论,老师给他们出了一个课后习题,那就是给你两个正整数A,B(0
输入描述:
输入包含多组测试数据,每组测试数据包含两个正整数A,B,以文件结束。
输出描述:
对于每组测试数据如果A和B的素因子集合相同则输出“YES”,否则输出“NO”...
分类:
其他好文 时间:
2014-11-19 20:34:42
阅读次数:
171
插入记录 语法:INSERT [INTO] [(tbl_name,...)] {VALUE|VALUE} ({expr|DEFAULT},...),(...),... 例子: 给所有的列都插入数据 INSERT student VALUES('1','Tom','123') ...
分类:
其他好文 时间:
2014-11-19 20:14:38
阅读次数:
174
本文包括以下部分: 排序(Sorting ) 检索(Searching ) 分页(Paging) 排序(Sorting) 本节中以 Student 实体为例演示排序. 在 Controller中添加排序功能 Step 1: 打开 StudentController.cs ,使 Index() 方法如...
分类:
编程语言 时间:
2014-11-19 18:15:53
阅读次数:
253
student类必须标记序列化using System;using System.Collections.Generic;using System.Text;namespace TextFile{ [Serializable] class Student { public string ...
分类:
其他好文 时间:
2014-11-19 15:54:42
阅读次数:
192
JSONObject 和JSONArray 是json-lib.jar里面最常用的两个类,分别可以对对象和数组(集合)进行序列化和反序列化,结构清晰命了,简单易用,功能强大,效率比较高,使用至今一直较为推崇,虽然尚有诸多功能尚未完全了解,姑且边学边记,以作归纳、沉淀。
首先看两个类:
Student类:
public class Student {
private String name;...
分类:
Web程序 时间:
2014-11-19 11:10:54
阅读次数:
246
#include #include #define LEN sizeof(struct Student) struct Student //结构体声明{ long num; int score; struct Student* next; }; int n; s...
分类:
编程语言 时间:
2014-11-19 10:25:09
阅读次数:
165
实现功能:查询单张表Student中返回指定的列一:数据库表结构:二:存储过程: 1 USE [AdventureWorksDW] 2 GO 3 /****** Object: StoredProcedure [dbo].[GetAllStudentInfo] Script Date: 20...
分类:
其他好文 时间:
2014-11-19 07:04:30
阅读次数:
3066
JSONObject 和JSONArray 是json-lib.jar里面最常用的两个类,分别可以对对象和数组(集合)进行序列化和反序列化,结构清晰命了,简单易用,功能强大,效率比较高,使用至今一直较为推崇,虽然尚有诸多功能尚未完全了解,姑且边学边记,以作归纳、沉淀。
首先看两个类:
Student类:
public class Student {
private String name;...
分类:
Web程序 时间:
2014-11-19 00:57:44
阅读次数:
265