组件注册 用@Bean来注册 搭建好maven web工程 pom加入spring-context,spring-core等核心依赖 创建实例类com.hjj.bean.Person, 生成getter,setter方法 public class Person { private String na ...
分类:
编程语言 时间:
2020-08-28 12:05:46
阅读次数:
70
#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> int main01() { //常量 const int a=1 ...
分类:
其他好文 时间:
2020-08-27 17:13:47
阅读次数:
62
1 /* 2 线性表的排序算法 3 cza 4 2020/7/1 5 */ 6 #include<iostream> 7 #include<stdio.h> 8 int num[100]; 9 using namespace std; 10 11 int getMix(int left,int ri ...
分类:
编程语言 时间:
2020-08-27 17:06:03
阅读次数:
59
最后的输出顺序是1 2 3 5 4 也就是说,在访问每一个顶点的时候,会先对与此顶点有关联的点进行访问,再进行下一个; #include <cstdio> #include <iostream> using namespace std; int main() { int i, j, n, m, a, ...
分类:
其他好文 时间:
2020-08-27 11:49:16
阅读次数:
58
学习 C 语言的指针既简单又有趣。通过指针,可以简化一些 C 编程任务的执行,还有一些任务,如动态内存分配,没有指针是无法执行的。所以,想要成为一名优秀的 C 程序员,学习指针是很有必要的。 正如您所知道的,每一个变量都有一个内存位置,每一个内存位置都定义了可使用连字号(&)运算符访问的地址,它表示 ...
分类:
其他好文 时间:
2020-08-26 19:02:08
阅读次数:
79
#include "common.h" static pthread_t thread_miccapture; static pthread_t thread_audioplay; static int pthread_run = 0; static pthread_t thread_main; s ...
分类:
其他好文 时间:
2020-08-26 18:48:05
阅读次数:
49
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #define GPT_HEADER_SIGNATURE 0x5 ...
分类:
编程语言 时间:
2020-08-26 18:34:39
阅读次数:
57
#include<iostream>#include <cstdio>#include <string.h> #include <math.h> using namespace std; int time_value(int h,int m,int s){ return h*3600+m*60+s; ...
分类:
其他好文 时间:
2020-08-26 17:11:16
阅读次数:
41
package LeetCode_264 import java.util.* /** * 264. Ugly Number II * https://leetcode.com/problems/ugly-number-ii/description/ * * Write a program to f ...
分类:
其他好文 时间:
2020-08-25 18:44:01
阅读次数:
53
Makefile的介绍与使用(一)中,我简单总结了一下关于子目录下的Makefile的一些运用,而这次的Makefile的介绍与使用(二)中,就对Makefil顶层目录进行一个剖析,简单分析一下Makefile的构造。 就拿最近做的hello目录下的Makefile为示例 include $(TOP ...
分类:
其他好文 时间:
2020-08-24 16:40:34
阅读次数:
54