- 博客(147)
- 资源 (1)
- 问答 (4)
- 收藏
- 关注
原创 h5和app交互
function goUrl(){var i =0;sessionStorage.setItem('goto_url','');channelCode = window.sessionStorage.getItem("channelCode");if (channelCode == 18){//手机银行跳转,登陆debugger ;alert("1");if(windo
2017-11-05 19:27:04
1167
原创 java 成绩处理
import java.io.*;import java.util.*;public class Test { public static void main(String[] args) { File fread=new File("score.txt"); File fwritw=new File("s.txt"); try{ Writer out=n
2013-11-25 19:24:26
1038
原创 GUI
import java.awt.*;import javax.swing.*;import java.awt.event.*;public class windowTriangle extends JFrame implements ActionListener{ Triangle triangle; JTextArea showarea; JTextField textA
2013-11-11 19:16:17
700
原创 求平均数(检验错误)
import java.util.*;public class Test { public static void main(String[] args) { Scanner read=new Scanner(System.in); double sum=0; int m=0; try{ while(read.hasNextDouble()){ double x=
2013-10-31 20:21:32
821
原创 华容道
package Mypackage;import java.awt.*;import javax.swing.*;import java.awt.event.*;public class Hua extends JFrame implements MouseListener,KeyListener,ActionListener{ Person person[]=new Person[10
2013-10-31 20:17:40
1109
原创 Java编写记事本 (未完待续)
import javax.swing.*;import java.awt.event.InputEvent;import java.awt.event.KeyEvent;import static javax.swing.JFrame.*;public class WindowMenu extends JFrame {//Jframe的子类 JMenuBar menubar;//菜单
2013-10-31 20:15:08
773
原创 习题练错
public class Car { int rea; int max; public void setMAx(int c){ max=c; } public void loading(int m)throws Dang{ rea+=m; if(rea>max){ rea-=m; throw new Dang(); } System
2013-10-21 19:25:57
606
原创 动物叫声(练习接口)
public class Tast { public static void main(String[] args) { // TODO Auto-generated method stub Dog dog=new Dog(); dog.cry(); Simulator sim=new Simulator(); sim.play(new Dog()); sim.play(
2013-10-20 10:17:03
1199
1
原创 动物叫(练习继承,抽象类)
public class Tast { public static void main(String[] args) { // TODO Auto-generated method stub Dog dog=new Dog(); dog.cry(); Simulator sim=new Simulator(); sim.play(dog); }}public c
2013-10-20 09:57:00
1279
原创 白云黑土
package diliuzhang;public class Advertisementboard {//创建广告牌 public void show(Advertisment adver){ System.out.println(adver.getcorpname()+"的广告词如下"); adver.showAdvertisment(); }}
2013-10-17 15:03:36
1158
原创 银行利率
public class Bank{ int savedmoney; int year; double interest; double interestrate=0.29; public doublecomputerinterest(){ interest=year*interestrate*savedmoney; return inter
2013-10-17 15:01:25
1287
原创 腾讯信息JAva
public class Mobiletelephone { Sim card; public void usesim(Sim card){ this.card=card; } public void showmess(){ System.out.println("使用的手机卡"+card.givecorpname()+"提供的"); System.out.pri
2013-10-17 14:59:09
747
原创 Java
第三周任务public class Java { public static void main(String []arg){ a s=new a(); s.fact(); s.sushu(); s.bahe(); s.n(); }}public class a { //求一到十的阶乘和,并且输出 public vo
2013-10-12 14:08:43
914
原创 Java
public class User { public static void main(String[] args) { // TODO Auto-generated method stub //Vehic car1,car2; Vehic car1=new Vehic(); Vehic car2=new Vehic(); car1.setpower(128);
2013-10-12 13:57:15
594
原创 文件系列
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年5 月 31 日* 版本号: v1.0
2013-06-26 20:29:52
657
原创 文件系列
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年5 月 31 日* 版本号: v1.0
2013-06-26 20:27:47
692
原创 十人打架真心没看
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp* 作 者: 刘元龙* 完成日期: 2013 年56月 23 日* 版本号: v1.0* 输入描述:* 问题描述:保存二进制文件* 输出:*/#include #incl
2013-06-22 22:31:22
926
1
原创 十六周任务一
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp* 作 者: 刘元龙* 完成日期: 2013 年6月 17 日* 版本号: v1.0* 输入描述:读入工资文件,将工资加倍,排序输出* 问题描述:
2013-06-14 10:41:20
714
原创 十四周任务三(面积计算)
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp* 作 者: 刘元龙* 完成日期: 2013 年5 月 31 日* 版本号: v1.0* 输入描述:* 问题描述:* 输出:*/
2013-06-01 13:25:48
692
原创 十四周任务二————计算总面积
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年5 月 31 日
2013-06-01 12:08:53
704
原创 十四周任务一
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年5 月 31 日* 版本号: v1.0
2013-05-31 11:12:33
505
原创 13周任务四
/*(c) 2012, 烟台大学计算机学院All rights reserved.文件名称:test.cpp作 者:刘元龙完成日期:2013 年 5月 26 日版 本 号:v1.0输入描述:无问题描述:程序输出:问题分析:算法设计:*/#include using namespace std;class date{protected
2013-05-25 13:32:46
582
原创 13周任务三 摩托车
#include #include#include using namespace std;enum vehicleStaus {rest, running}; //车辆状态:泊车、行进class vehicle //车辆类{protected: int maxSpeed; //最大车速 int currentSpeed; //当前速度 int weight; //
2013-05-25 12:02:15
1127
原创 13周任务er
#include #include using namespace std;class teacher{public: teacher(int a,string nam,string ho,double ip,string la); void display1();protected: int age;//年龄 string name
2013-05-25 10:09:55
1006
原创 13周任务一
#include using namespace std;class StudentA //(1)修改studentA类中各数据成员和成员函数的访问限定符,并观察发生的现象{public: StudentA(int n,string nam,char s); void showA(); ~StudentA( ) { }protected:
2013-05-24 13:39:50
814
原创 十一周任二
#include#includeusing namespace std;class Point //定义坐标点类{public: Point():x(0),y(0) {}; Point(double x0, double y0):x(x0), y(y0) {}; double getX() { return x; } dou
2013-05-21 09:48:24
744
原创 十一周任务四
#include using namespace std;class Point{public: Point(double x=0,double y=0); //构造函数 void setPoint(double,double); //设置坐标值 double getX( ) const { return
2013-05-21 09:46:33
705
原创 十一周任务三
#include #include #include using namespace std;class CPerson{protected: char *m_szName; char *m_szId; int m_nSex;//0:women,1:man int m_nAge;public: CPerson(char *name,char *id,int sex,int
2013-05-21 09:45:10
667
原创 十一周任务
#include#includeusing namespace std;class Point //定义坐标点类{public: Point():x(0),y(0) {}; Point(double x0, double y0):x(x0), y(y0) {}; void PrintPoint(); //输出点的信息 double x,y
2013-05-10 10:57:28
995
原创 第九周任务二
#includeusing namespace std;class Complex{public: Complex(){real=0;imag=0;} Complex(double r,double i){real=r;imag=i;} friend Complex operator+(Complex &c1,Complex &c2); friend Complex operator
2013-05-08 20:43:34
827
原创 第九周任务一
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年5 月 7 日* 版本号: v1.0 *
2013-05-08 20:31:36
883
原创 第八周任务
#include #include using namespace std;class CFraction{private: int nume; // 分子 int deno; // 分母public: CFraction(int nu=0,int de=1):nume(nu),deno(de){} void simplify(); void display(); CF
2013-04-24 21:20:09
924
原创 第八周任务
#include using namespace std;class CTime{ private: unsigned short int hour; // 时 unsigned short int minute; // 分 unsigned short int second; // 秒 public: CTime(int h=0,int m=0,int s=0);
2013-04-24 20:53:46
988
原创 第八周任务
#includeusing namespeace std;class Complex{public: Complex(){real=0;imag=0;} Complex(double r,double i){real=r;imag=i;} friend Complex operator+(Complex &c1,Complex &c2); friend Complex
2013-04-24 18:39:48
954
原创 第八周
#includeusing namespeace std;class Complex{public: Complex(){real=0;imag=0;} Complex(double r,double i){real=r;imag=i;} Complex operator+(Complex &c2); Complex operator-(Complex &c2);
2013-04-24 18:36:27
757
原创 第七周 任务五
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年4 月 14 日* 版本号: v1.0
2013-04-14 17:00:01
695
原创 第七周任务四
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年4 月 14 日* 版本号: v1.0
2013-04-14 16:39:27
801
原创 第七周任务三
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年4 月 14 日* 版本号: v1.0
2013-04-14 15:41:23
888
原创 第七周任务二
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年4 月 14 日* 版本号: v1.0
2013-04-14 12:09:18
916
原创 第七周任务一
/** 程序的版权和版本声明部分* Copyright (c)2013, 烟台大学计算机学院学生* All rightsreserved.* 文件名称:score.cpp * 作 者: 刘元龙 * 完成日期: 2013 年4 月 14 日* 版本号: v1.0
2013-04-14 11:31:54
908
h5和app交互,求大神给答案!!!
2017-11-02
页面编码奇葩问题.部分中文乱码
2017-08-21
页面中文部分乱码怎么弄
2017-08-21
android 开发环境怎么去哪里下载,为什么安卓官网没法下载
2015-06-16
TA创建的收藏夹 TA关注的收藏夹
TA关注的人