package cn.rushangw.lesson01;import java.awt.*;public class TestBorderLayout { public static void main(String[] args) { Frame frame = new Frame("TestB ...
分类:
其他好文 时间:
2021-05-24 13:01:24
阅读次数:
0
for 是支持迭代的一种通用结构。最有效,最灵活 for 的循环次数在执行权确定 package com.sf.struct; public class For01 { //for 是支持迭代的一种通用结构。最有效,最灵活 //for 的循环次数在执行权确定 public static void m ...
分类:
编程语言 时间:
2021-05-24 13:00:45
阅读次数:
0
v-bind的绑定属性 绑定基本属性 01_v-bind的基本使用.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=e ...
分类:
其他好文 时间:
2021-05-24 13:00:24
阅读次数:
0
原项目系统中已经引入了 Mybatis 和 pagehelper ,当引入Mybatis-plus 后启动项目报错 SqlSessionFactory 错误,排查原因后为依赖冲突导致,需排除部分jar包 1. Mybatis中 <dependency> <groupId>tk.mybatis</gr ...
分类:
编程语言 时间:
2021-05-24 12:59:05
阅读次数:
0
简介 简单题, 按照正常人的思路即可 code C++代码写复杂了, 应该, 补0的话可以省去判断谁是长字符串谁是短字符串 class Solution { public: string addStrings(string num1, string num2) { reverse(num1.begi ...
分类:
其他好文 时间:
2021-05-24 12:50:46
阅读次数:
0
算法代码 C#代码 using System; namespace Prim { class Program { static void Main(string[] args) { int numberOfVertexes = 9, infinity = int.MaxValue; int[][] ...
分类:
编程语言 时间:
2021-05-24 12:41:56
阅读次数:
0
学习记录,仅供参考,希望可以指出错误 根据带头结点的线性链表改编,即elemtype也变成了struct结构 #include<stdio.h> #include<stdlib.h> //改由带头结点的线性链表 #define OK 1 #define ERROR 0 typedef int sta ...
分类:
其他好文 时间:
2021-05-24 12:40:12
阅读次数:
0
现实中打牌 接收到新牌后在已有的牌里面进行排序,然后找到属于自己的位置进行插入: 手中的牌永远是有序的 Code package kb.algorithm; public class InsertionSort { public static void main(String[] args) { i ...
分类:
编程语言 时间:
2021-05-24 12:38:02
阅读次数:
0
public class WindowSell2 { private int num=0; public synchronized void increade() throws InterruptedException{ while (num != 0){ this.wait(); } num++; ...
分类:
编程语言 时间:
2021-05-24 12:36:19
阅读次数:
0
运算符的重载规则 a.运算符重载必须符合语言语法 例如:不能在c++中写 float f; 3.14=f; 所以重载运算符”=”也不能用来下面的操作: Complex c; 3.14+6i=c; b.不能重载对内部c++数据类型进行操作的运算符. 例如,不能重载二元浮点减法运算符. c.不能创建新的 ...
分类:
编程语言 时间:
2021-05-24 12:24:31
阅读次数:
0