2015年10月15日

排序

摘要: 在一个长度为10的整型数组里面,保存了班级10个学生的考试成绩。要求编写5个函数,分别实现计算考试的总分,最高分,最低分,平均分和考试成绩降序排序。#include int sum(int score[]){ int count=0; int i; for (i=0;iarr[i+... 阅读全文

posted @ 2015-10-15 19:18 东京的花 阅读(166) 评论(0) 推荐(0)

2015年8月27日

拼接bid请求

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2015-08-27 17:00 东京的花 阅读(4) 评论(0) 推荐(0)

2015年7月29日

JAVA发送http post 请求、get请求

摘要: 1、写一个HttpRequestUtils工具类,包括post请求和get请求import net.sf.json.JSONObject;import org.apache.commons.httpclient.HttpStatus;import org.apache.http.HttpRespon... 阅读全文

posted @ 2015-07-29 14:13 东京的花 阅读(2714) 评论(0) 推荐(0)

2015年7月28日

Java生成json串、JSONObject与JSONArray的使用

摘要: 1.JAR包简介要使程序可以运行必须引入JSON-lib包,JSON-lib包同时依赖于以下的JAR包:commons-lang.jarcommons-beanutils.jarcommons-collections.jarcommons-logging.jarezmorph.jarjson-lib... 阅读全文

posted @ 2015-07-28 22:14 东京的花 阅读(517) 评论(0) 推荐(0)

导航