描述:编写程序,读入一行英文(只包含字母和空格,单词间以单个空格分隔),将所有单词的顺序倒排并输出,依然以单个空格分隔。输入输入为一个字符串(字符串长度至多为100)。输出输出为按要求排续后的字符串。样例输入I am a student样例输出student a am I思路:首先把字符串先反转,从...
分类:
其他好文 时间:
2015-02-18 19:52:31
阅读次数:
499
Description
As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in the Ignatius Train Station is the fas...
分类:
其他好文 时间:
2015-02-18 15:20:31
阅读次数:
183
jsp中,在接受request的中文字符时,显示出来的是乱码,jsp中含客户提交的含有汉字的数据,要采用特殊的处理方式,先将得到的字符串用iso-8859-1编码,并放到一个字节数组中,再用String类的构造函数将其转换为字符串对象,例如,下面的student的Name是ISO-8859-1的,要...
分类:
Web程序 时间:
2015-02-16 20:59:34
阅读次数:
411
/// /// 对象初始化器测试 /// public class Initializer { //测试对象初始化器 public static void Test1() { Student stu1 = new Student() { name = "zhangsan", ag...
分类:
其他好文 时间:
2015-02-16 11:38:39
阅读次数:
116
KVC的全称为key value coding,它是一种使用字符串间接更改对象属性的方法。
假设有一个Person类和一个Student类,其中Person类有age、name两个属性,Student多一个no(学号)属性。
1.valueForKey: 方法通过传入一个键值返回一个id对象,KVC具有自动包装功能,注意如果是基本类型会返回被包装的对象,需要使用XxxValue方法解包,例如:...
分类:
其他好文 时间:
2015-02-15 09:30:23
阅读次数:
190
简单的数据集输出日志85 libname saslib base 'E:\sasdata';NOTE: 已成功分配逻辑库引用名“SASLIB”,如下所示: 引擎: BASE 物理名: E:\sasdata8687 data saslib.Student;88 input name $ Age Score;89 datal...
分类:
其他好文 时间:
2015-02-13 22:29:40
阅读次数:
205
Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and...
分类:
其他好文 时间:
2015-02-13 19:56:43
阅读次数:
170
Servlet总结本程序采用Servlet开发技术,MVC分层,所有程序在设计时都要接口为操作的标准,主要逻辑操作只有增删改查。具体实现操作请看源代码。本程序采用的是MYSQL数据库,需加入相应的jar包目录结构首先贴上底层数据层:连接数据库package com.student.dbc ;impo...
分类:
其他好文 时间:
2015-02-13 11:31:33
阅读次数:
169
Merge Into [dbo].[Student] Susing [10.58.8.224\TEST].[TestDb].[dbo].[Student] Ton S.ID=T.IDWHEN MATCHED AND (S.[UpdateTime]T.[UpdateTime])--匹配上 时间不一致时...
分类:
其他好文 时间:
2015-02-12 12:14:07
阅读次数:
108
Hey, everyone. Welcome to my blog. My name is Jason Huang. Now I am a student of College of Mechatronics and Control Engineering in Shenzhen Universit...
分类:
其他好文 时间:
2015-02-11 16:18:37
阅读次数:
142