码迷,mamicode.com
首页 >  
搜索关键字:include    ( 84546个结果
Spring注解开发之@Bean和@ComponentScan
组件注册 用@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
const修饰的指针类型
#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 编程任务的执行,还有一些任务,如动态内存分配,没有指针是无法执行的。所以,想要成为一名优秀的 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
C语言实现GPT头和分区表的读取
#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
1006 Sign In and Sign Out (25分)
#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
264. Ugly Number II (Solution 1)
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的一些运用,而这次的Makefile的介绍与使用(二)中,就对Makefil顶层目录进行一个剖析,简单分析一下Makefile的构造。 就拿最近做的hello目录下的Makefile为示例 include $(TOP ...
分类:其他好文   时间:2020-08-24 16:40:34    阅读次数:54
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!