会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
楼321
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2019年5月14日
5.14Java窗口的切换
摘要: package 上机; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; public class wind implements ActionListener { JFrame f,f1; JPanel p,p1; ...
阅读全文
posted @ 2019-05-14 23:18 楼321
阅读(203)
评论(0)
推荐(0)
编辑
5.14数据结构-串的输入,对比,复制,匹配
摘要: #include #define size 100 typedef struct node{ char c1[size]; int length=0; }sq; int leng1(sq&l){ int i=0; while(l.c1[i]!='\0'){ l.length++; i++; } return l....
阅读全文
posted @ 2019-05-14 11:58 楼321
阅读(367)
评论(0)
推荐(0)
编辑
2019年5月10日
Java的事件监听
摘要: package 上机; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; //完成一个按钮的事件处理程序,实现功能自拟, //例如:改变窗口的背景颜色,改变按钮的位置等等 import javax.swing.*; public class boutto...
阅读全文
posted @ 2019-05-10 18:28 楼321
阅读(152)
评论(0)
推荐(0)
编辑
5.5java上机
摘要: class instrument { public void play(){ System.out.println("弹奏乐器"); } class wind extends instrument{ String a1; public void play(){ System.out.println("...
阅读全文
posted @ 2019-05-10 13:35 楼321
阅读(171)
评论(0)
推荐(0)
编辑
2019年5月7日
5.7数据结构-矩阵的简单操作
摘要: #include main(){ int m,n; printf("请输入数组的行:"); scanf("%d",&m); printf("请输入数组的列:"); scanf("%d",&n); int a[m][n],b[m][n],c1[m][n],c2[m][n],c3[m][n]; for(int i=0;i main(){ ...
阅读全文
posted @ 2019-05-07 20:13 楼321
阅读(201)
评论(0)
推荐(0)
编辑
2019年5月1日
4.26 java
摘要: //1)私有属性:上月电表读数、本月电表读数 //2)构造方法:无参、2个参数 //3)成员方法:getXXX()方法、setXXX()方法 //4)成员方法:显示上月、本月电表读数 public class spend { private float lastm; private float thism; public spend(){ }/...
阅读全文
posted @ 2019-05-01 20:53 楼321
阅读(160)
评论(0)
推荐(0)
编辑
2019年4月30日
4.30数据结构
摘要: #include #define size 3 typedef struct node{ int a[size]; int front,rear; }sq; void imput(sq&l){ int a;l.front=l.rear=0; if(l.front%size==l.front) return; while(l.front%size!=l....
阅读全文
posted @ 2019-04-30 10:55 楼321
阅读(149)
评论(0)
推荐(0)
编辑
2019年4月24日
第三次上机
摘要: package 上机; import java.util.Scanner; public class Student { private static final Student Student = null; String name; String sex; String age; String
阅读全文
posted @ 2019-04-24 22:45 楼321
阅读(147)
评论(0)
推荐(0)
编辑
2019年4月23日
数据结构4.23
摘要: #include<stdio.h> #include<stdlib.h> #define Size 4 typedef struct node{ int a[Size],top; }sqstack; void init(sqstack & L){ int x; L.top=-1; if(L.top=
阅读全文
posted @ 2019-04-23 01:20 楼321
阅读(80)
评论(0)
推荐(0)
编辑
2019年4月18日
4.19
摘要: import java.util.Scanner; public class Student { String name; String sex; String age; String num; int score[]=new int[5]; public void inset() { Scanne
阅读全文
posted @ 2019-04-18 22:03 楼321
阅读(122)
评论(0)
推荐(0)
编辑
上一页
1
2
3
下一页
公告