Spring Boot 是支持在系统加载的时候配置随机数的 1.添加config/random.properties文件 #随机32位MD5字符串 user.random.secret=${random.value} #随机int数字 user.random.intNumber=${random.i ...
分类:
编程语言 时间:
2021-05-24 04:07:16
阅读次数:
0
#0.5 数组 ##概念: 数组就是存储数据长度固定的容器,保证多个数据的数据类型要一致。 ##定义: ####方式一: 数组存储的数据类型[] 数组名字 = new 数组存储的数据类型[长度]; #####举例: int[] arr = new int[3]; ####方式二: 数据类型[] 数组 ...
分类:
编程语言 时间:
2021-05-24 04:07:01
阅读次数:
0
这次来学学Qt chart 的坐标轴 有这么一组数据: 这是深圳市2019年6月份的天气预报(来自中国天气网:深圳),里面有每天的最高温度,把这最高温度做成个数组,如下: int daily_temp_max[30] = [32, 31,30,30,31,32,32,32, 32,32,32,31, ...
分类:
其他好文 时间:
2021-05-24 03:59:29
阅读次数:
0
label1.BackColor = Color.Transparent;//设置背景颜色为透明 label1.Parent = pictureBox1;//将pictureBox1设为标签的父控件,也可以设置其他控件作为父类 //pictureBox1.Controls.Add(label1);/ ...
缘起 CREATE TABLE `test_tb` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', `value_comment` varchar(100) NOT NULL DEFAULT '' COMMENT ...
分类:
数据库 时间:
2021-05-24 03:52:08
阅读次数:
0
##AC代码 #include<stdio.h> #include<string.h> #include<iostream> #include<queue> using namespace std; #define inf 0x3f3f3f3f const int N=1020; int e[N][ ...
分类:
其他好文 时间:
2021-05-24 03:46:14
阅读次数:
0
JAVA: public final int numWaterBottles(int numBottles, int numExchange) { int re = numBottles, empty = numBottles; while (empty >= numExchange) { int ...
分类:
其他好文 时间:
2021-05-24 03:39:54
阅读次数:
0
发现网上大把都是用python读取mnist的,用C++大都是用opencv读取的,但我不怎么用opencv,因此自己摸索了个使用文件流读取mnist的方法,armadillo仅作为储存矩阵的一种方式。 1. mnist文件 首先避坑,这些文件要解压。 官网截图可知,文件头很简单,只有若干个32位整 ...
分类:
编程语言 时间:
2021-05-24 03:14:16
阅读次数:
0
###1. int main(int argc, char const *argv[]) { int arr [5] = {0,1,2,3,4}; int *p1 = &arr[0]; //P1指针表示指向arr数组的首地址 int *p2 = arr; //P2是数组首元素的地址 printf(" ...
分类:
编程语言 时间:
2021-05-24 03:11:50
阅读次数:
0
HelloSpring 使用Spring创建对象的过程 创建一个Hello类 public class Hello { private String name; public String getName() { return name; } public void setName(String n ...
分类:
编程语言 时间:
2021-05-24 03:08:09
阅读次数:
0