Pascal吧友作品 一个小RPGChaobs转载varplife,plifemax,patt,pre:integer;gr,ex,exmax:integer;alife,alife1,aatt,are:integer;name,fname:string;na:text;code,co:string...
分类:
其他好文 时间:
2014-07-16 19:31:32
阅读次数:
305
大富翁MUD Pascal源码 Chaobs改编自百度网友作品此源码非Chaobs原创,但转载时请仍注明出处。估计90后以后就没有孩子知道MUD了。program wxtw;uses crt;type zbdy=record x,y:integer; end;var n,i,x,y,t,sjs:in...
分类:
其他好文 时间:
2014-07-14 10:07:03
阅读次数:
166
--建表create table xuesheng(id integer, xing_ming varchar2(25), yu_wen number, shu_xue number);insert into xuesheng values(1,'zhangsan',80,90);insert in...
分类:
数据库 时间:
2014-07-13 09:59:24
阅读次数:
228
//将字符串反转,但单词不倒置。#include#includevoid reverse(char *s){ char data[255][255];//将s中的空格和非空格子串进行存储 int row = 0,column = 0; int i,j,k; for(i=0;s[i];) { data...
分类:
其他好文 时间:
2014-07-13 09:31:51
阅读次数:
202
1 Binding binding = new Binding(); 2 binding.setVariable("foo", new Integer(2)); 3 GroovyShell shell = new GroovyShell(binding); 4 5 String script =.....
分类:
编程语言 时间:
2014-07-13 09:26:06
阅读次数:
241
翻转单词顺序 代码(C)本文地址: http://blog.csdn.net/caroline_wendy题目: 输入一个英文句子, 翻转句子中单词的顺序, 但单词内字符的顺序不变.首先翻转(reverse)整个句子, 然后查找空格, 如遇到空格, 则翻转前面的单词, 或遇到结束符, 同样进行翻转.代码:/*
* main.cpp
*
* Created on: 2014.6.12
* ...
分类:
其他好文 时间:
2014-07-12 22:56:00
阅读次数:
328
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2", "1", ...
分类:
其他好文 时间:
2014-07-12 22:43:17
阅读次数:
267
[LeetCode]Reverse Words in a String...
分类:
其他好文 时间:
2014-07-12 20:46:45
阅读次数:
248
Problem Description:
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the...
分类:
其他好文 时间:
2014-07-12 19:00:26
阅读次数:
235
1) 请求工具类 org.springframework.web.bind.ServletRequestUtils//取请求参数的整数值:public static Integer getIntParameter(ServletRequest request, String name)public ...
分类:
编程语言 时间:
2014-07-12 13:50:06
阅读次数:
232