- 博客(15)
- 资源 (2)
- 收藏
- 关注
原创 MyEclipse部署Java Web应用
在tomcat下部署Java web应用。 首先,下载tomcat,到官方网站下载相关版本的tomcat,网址:http://tomcat.apache.org/ 下载完成后,主要文件夹如下: bin:保存启动与监控tomcat命令文件 conf:保存tomcat配置文件 lib:保存web应用能访问的jar包文件 webapps:tomcat默认的web应用的发布目录 wo
2016-12-06 16:40:22 1676
转载 java的Comparator和Comparable
java的Comparator和Comparable 当需要排序的集合或数组不是单纯的数字型时,通常可以使用Comparator或Comparable,以简单的方式实现对象排序或自定义排序。 一、Comparator 强行对某个对象collection进行整体排序的比较函数,可以将Comparator传递给Collections.sort或Arrays.sort。 接口方
2014-05-17 18:00:34 448
原创 微信公众平台搭建与开发(二)开发模式的搭建和关键词回复
在第一部分我们介绍了编辑模式,但是编辑模式有较大局限性,下面我们主要开始介绍开发模式,这一部门先简单介绍下开发模式的环境搭建和关键词回复。 开发模式首先要有一个虚拟主机,本人使用的是新浪开发者平台的虚拟主机,使用云豆计算流量,若成为新浪开发者用户基本上就可以免费使用了,本人注册用户所赠送的云豆不知道能用多久。当然国内比较大就是百度开发者平台,注册后发现部署还没有新浪的方便,并且在BAE3.0以后
2014-04-30 23:38:37 2200
原创 微信公众平台搭建与开发(一)基本搭建和编辑模式
最近突然对微信的公众平台开发有点兴趣,准备找点时间来玩玩,顺便写个博客记录下,让有需要的朋友更好的了解。 首先对于公众需要先登录https://mp.weixin.qq.com/注册一个个人账号,验证速度还比较快,当天就可以。当然需要一张身份证和个人的合影- -! 当一切注册成功后界面如下,当然这时候你也可以通过二维码或者名字在公众账号中搜索到你注册的公众账号: 这时候你在文本框中输
2014-04-27 00:40:04 1714
原创 POJ1006
生理周期 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 109813 Accepted: 34134 Description 人生来就有三个生理周期,分别为体力、感情和智力周期,它们的周期长度为23天、28天和33天。每一个周期中有一天是高峰。在高峰这天,人会
2014-04-20 21:37:00 425
原创 POJ1005
I Think I Need a Houseboat Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 84081 Accepted: 36393 Description Fred Mapper is considering purchasing some lan
2014-04-16 21:09:10 430
原创 POJ1004
Financial Management Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 122652 Accepted: 55151 Description Larry graduated this year and finally has a job. He
2014-04-15 20:39:01 458
原创 POJ1003
Description How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards must be perpendicul
2014-04-13 20:28:40 440
原创 POJ1002
Description Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the Universit
2014-04-12 20:31:35 473
原创 POJ1001
Description Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many co
2014-04-11 22:00:26 453
原创 POJ1000
计算连个zh import java.util.Scanner; public class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner cin = new Scanner(System.in);
2014-04-10 20:21:49 444
原创 关于android不同activity之间数据传递的资料
关于android不同activity之间数据传递的资料 http://blog.csdn.net/zyq0335/article/details/7636724 1.通过intent传递 2.通过static静态数据传递 3.基于外部存储的传递 (1)SQLite (2)File (3)SharedPreference http://hellorheaven.it
2013-08-09 21:48:52 519
原创 java窗体程序更换皮肤方法详细步骤
简单介绍一下使用substance.jar包更换java应用程序皮肤 1.打开MyEclipse新建一个java工程 2.在java工程中新建一个Matisse Form 3.在窗体中通过拖控件设计一个最简单的登录窗体 4.然后导入substance.jar包 先导入到lib然后添加到Referenced Libraries中 确认在Re
2013-03-28 23:34:41 4052 2
原创 上升序列问题
#include #include #include using namespace std; int a[20005],d[20005];//a存放数组,d存放逆序的元素个数 /* 例如a数组为 3 4 1 2 3 6 d数组中存储为 3 2 4 3 2 1 */ void main() { int i,j; int n,m,length; scanf("%d
2012-10-22 20:43:16 388
原创 放苹果问题
#include using namespace std; int main() { int Apple(int,int); int num,m,n,sum; cin>>num; while(num!=0) { cin>>m>>n; sum=Apple(m,n); cout<<sum<<endl; num--; } return 0; } int Apple(in
2012-10-20 15:29:16 312
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人