2021年9月3日
摘要: 1 //数组的反转 2 //方式一 3 System.out.println("数组的反转"); 4 5 // for(int i = 0; i <arr.length/2;i++) 6 // { 7 // String temp = arr[i]; 8 // arr[i] = arr[arr.le 阅读全文
posted @ 2021-09-03 18:58 Bytezero! 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 1 public static void main(String[] args) { 2 int[]array1,array2; 3 array1 = new int[] {6,3,5,8,9,5,17,5,58,56}; 4 5 for(int i =0; i<array1.length;i++) 阅读全文
posted @ 2021-09-03 18:57 Bytezero! 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 * 3 * 算法考查:求数值型数组中的最大元素 最小值 平均值 总和等 4 * 要求:随机数是 两位数 5 * [10,99] 6 * 公式:(int)(Math.random()*(99-10+1)+10) 7 * 8 */ 9 public static void main(Str 阅读全文
posted @ 2021-09-03 17:51 Bytezero! 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 1 // 使用二维数组打印 10 行杨辉三角 2 public static void main(String[] args) 3 { 4 //1.声明 并初始化二维数组 5 int[][]yanghui = new int[10][]; 6 7 8 9 //2.给数组元素赋值 10 for(int 阅读全文
posted @ 2021-09-03 14:36 Bytezero! 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Windows; 阅读全文
posted @ 2021-09-03 10:31 Bytezero! 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Windows; 阅读全文
posted @ 2021-09-03 10:03 Bytezero! 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 1 // DlgExec.cpp : 实现文件 2 // 3 4 #include "stdafx.h" 5 #include "Self.h" 6 #include "DlgExec.h" 7 #include "afxdialogex.h" 8 9 10 // CDlgExec 对话框 11 1 阅读全文
posted @ 2021-09-03 09:54 Bytezero! 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1 // DlgUser.cpp : 实现文件 2 // 3 4 #include "stdafx.h" 5 #include "Login.h" 6 #include "DlgUser.h" 7 #include "afxdialogex.h" 8 9 10 // CDlgUser 对话框 11 阅读全文
posted @ 2021-09-03 09:45 Bytezero! 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 1 // ReadDlg.cpp : 实现文件 2 // 3 4 #include "stdafx.h" 5 #include "Read.h" 6 #include "ReadDlg.h" 7 #include "afxdialogex.h" 8 //#include "stream.h" 9 # 阅读全文
posted @ 2021-09-03 09:40 Bytezero! 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1 //点击按钮出来对话框———————————————— 2 3 1.首先添加 对话框(标识符) 4 2.在点击按钮出来第二个对话框,直接鼠标右键 新建 类 5 3.在.CPP添加新建类的 头文件 6 4.在第一个对话框的按钮添加点击事件 7 5.在事件中填写 模态代码: 8 CDlgExec d 阅读全文
posted @ 2021-09-03 09:27 Bytezero! 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1 数据库语句: 2 CREATE DATABASE 创建新数据库 3 ALTER DATABASE 修改数据库 4 CREATE TABLE -—-- -创建新表 5 ALTER TABLE - 变更(改变)数据库表 6 DROP TABLE 删除表 7 CREATE INDEX - 创建索引(搜 阅读全文
posted @ 2021-09-03 09:26 Bytezero! 阅读(207) 评论(0) 推荐(0) 编辑