#include <stdio.h> void swap(int *x,int *y); int main() { int m,n; scanf("%d%d",&m,&n); printf("before swap:m=%d n=%d\n",m,n); swap(&m,&n); //注意引用函数,两 ...
分类:
其他好文 时间:
2019-11-23 20:11:16
阅读次数:
79
目的: 1.Java注解简介 2.Java元注解(重点) 3.自定义注解 案例一(获取类与方法上的注解值) 案例二(获取类属性上的注解属性值) 案例三(获取参数修饰注解对应的属性值) 4.Aop自定义注解的应用(重点) Java注解简介 1. Java注解(Annotation) Java注解是附加 ...
分类:
编程语言 时间:
2019-11-23 19:45:02
阅读次数:
61
概述 主要是通过 @RunWith 和 @SpringBootTest 注解来开启单元测试功能 package com.snake.hello.spring.boot; import org.junit.Before; import org.junit.Test; import org.junit. ...
分类:
编程语言 时间:
2019-11-23 09:41:07
阅读次数:
62
直接上代码。 <template> <div> <el-upload action="http://localhost:3000/picture" :http-request = "getimages" :before-upload = "beforeUp" :headers="headers" l ...
分类:
Web程序 时间:
2019-11-22 23:31:12
阅读次数:
138
AOP的本质还是动态代理对方法调用进行增强。 SpringBoot 提供了方便的注解实现自定义切面Aspect。 1、使用需要了解的几个概念: 切面、@Aspect 切点、@Pointcut、 通知、@Before/@After/@Around/@AfterReturning/@AfterThrow ...
分类:
编程语言 时间:
2019-11-22 13:31:39
阅读次数:
140
臣亮言:先帝创业未半而中道崩殂, Permit me to observe: the late emperor was taken from us before he could finish his life`s work, the restoration of Han. 今天下三分,益州疲弊,此 ...
分类:
其他好文 时间:
2019-11-21 13:48:00
阅读次数:
63
1 11/20 一次性导出每年的EVImax? 2 11/20 Error: Pixel type not supported: Type. Convert the image to a floating point type or a smaller integer type, for examp ...
分类:
其他好文 时间:
2019-11-21 09:23:37
阅读次数:
67
php strchr()函数 语法 作用:搜索字符串在另一字符串中的第一次出现。直线电机哪家好 语法:strchr(string,search,before_search); 参数: 参数 描述 string 必需。规定被搜索的字符串。 search 必需。规定所搜索的字符串。如果该参数是数字,则搜 ...
分类:
Web程序 时间:
2019-11-19 15:38:50
阅读次数:
82
title: CMake速记 date: 2019/11/18 19:17:40 toc: true CMake速记 [TOC] 我的demo 外部构建 内部变量 基础语法 1. 变量使用${}方式取值,但是在 IF 控制语句中是直接使用变量名 2. 指令(参数 1 参数 2...) 3. 指令是大 ...
分类:
其他好文 时间:
2019-11-18 20:10:19
阅读次数:
71