E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
stdlib
每天一个小算法(5)----找到链表倒数第K个结点
如图: 1 #include <stdio.h> 2 #include <time.h> 3 #include <
stdlib
.h> 4 typedef
·
2015-11-08 16:40
算法
每天一个小算法(4)----在O(1)时间删除指定结点
1 #include <stdio.h> 2 #include <time.h> 3 #include <
stdlib
.h> 4 typedef struct
·
2015-11-08 16:39
算法
每天一个小算法(3)----倒序打印链表
代码使用递归实现 1 #include <stdio.h> 2 #include <time.h> 3 #include <
stdlib
.h> 4
·
2015-11-08 16:39
算法
HDU 1727 Hastiness
1 #include<stdio.h> 2 #include<math.h> 3 #include<string.h> 4 #include<
stdlib
.h
·
2015-11-08 16:15
HDU
二分查找法
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<
stdlib
.h> int search(
·
2015-11-08 16:03
二分查找
Poj 1915 - Knight Moves 双向广搜
1 #include <stdio.h> 2 #include <
stdlib
.h> 3 4 int vis[305][305], mat[305][305]; 5 int
·
2015-11-08 16:10
move
检测实现OpenCV2.4.4实现Shi-Tomasi角点检测(goodFeaturesToTrack)
opencv2/imgproc/imgproc.hpp" #include <iostream> #include <stdio.h> #include <
stdlib
.h
·
2015-11-08 15:54
opencv
qsort
1 #include<stdio.h> 2 #include<
stdlib
.h> 3 #include<string.h> 4 5 6 int
·
2015-11-08 15:53
sort
md5sum.c, md5.c, md5.h
md5sum.c #include <stdio.h> #include <
stdlib
.h> #include "md5.h" #pragma
·
2015-11-08 15:25
MD5
c语言exit和return区别,在fork和vfork中使用
c语言exit和return区别,在fork和vfork中使用 exit函数在头文件
stdlib
.h中。
·
2015-11-08 15:57
return
改进版的快速排序
#include<stdio.h>#include<
stdlib
.h>typedef int ElementType;#define Cutoff (3) void swap(
·
2015-11-08 15:33
快速排序
归并排序
归并排序算法实现: #include<stdio.h> #include<
stdlib
.h> #define FatalError( Str )
·
2015-11-08 15:32
归并排序
关于system()的一些用法
功 能: 发出一个DOS命令 用 法: int system(char *command); 它包含头文件<
stdlib
.h
·
2015-11-08 15:20
System
使用C语言获取linux系统相关信息
man中关于getenv函数的声明如下: #include <
stdlib
.h> char *getenv(const char *name); 函数中,参数name 为环境变量的名称
·
2015-11-08 15:49
linux
c语言构建动态数组
1 #include <stdio.h> 2 #include <
stdlib
.h> 3 int main(void) { 4 int len;
·
2015-11-08 15:16
C语言
单链表的最装逼写法
include <stdio.h> #include <stdint.h> #include <
stdlib
.h> #define STAILQ_ENTRY
·
2015-11-08 15:11
单链表
HDOJ-1052 Tian Ji -- The Horse Racing
View Code 1 #include <stdio.h> 2 #include <string.h> 3 #include <
stdlib
.h>
·
2015-11-08 15:16
RAC
01 背包的C实现
#include<stdio.h> #include<math.h> #include<
stdlib
.h> int max(int a ,int b) {
·
2015-11-08 14:31
实现
C语言程序
include <windowsx.h> #include "resource.h" #include "MainDlg.h" #include <
stdlib
.h
·
2015-11-08 14:17
C语言
如何使用C自带的qsort快速排序
for debugging purposes, e.g. 2 // printf("this is a debug message\n"); 3 #include <
stdlib
.h
·
2015-11-08 14:36
sort
Codeforces Round #267 (Div. 2)
2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<
stdlib
.h
·
2015-11-08 14:19
codeforces
地址/指针和字符串
首页是这个自编的strncpy函数: #include "ctype.h" #include "
stdlib
.h" #include "string.h
·
2015-11-08 14:14
字符串
洗牌算法
// #include "stdafx.h" #include <stdio.h> #include <
stdlib
.h> #include
·
2015-11-08 14:18
算法
数组的初始化方法大全
#include <stdio.h>#include <
stdlib
.h>#include <string.h> 对于数组,有以下几个原则: int main(int
·
2015-11-08 14:43
初始化
标准输入输出重定向
C: #include <stdio.h> #include <
stdlib
.h> void test_stdin() { char
·
2015-11-08 14:49
重定向
IPC通信:Posix消息队列读,写
创建消息队列的程序: 1 #include <stdio.h> 2 #include <
stdlib
.h> 3 #include <mqueue.h>
·
2015-11-08 14:53
消息队列
进程控制之system函数
#include <
stdlib
.h> int system( const char *cmdstring ); 如果cmdstring是一个空指针,则仅当命令处理程序可用时,system
·
2015-11-08 14:26
System
字典树
quot; #include"stdio.h" #include"queue" #include"iostream" #include"
stdlib
.h
·
2015-11-08 14:34
字典树
字符串二分查找
#include"stdio.h" #include"string.h" #include"iostream" #include"
stdlib
.h
·
2015-11-08 14:30
二分查找
map容器结构体离散化
quot; #include"algorithm" #include"queue" #include"stack" #include"
stdlib
.h
·
2015-11-08 14:03
map
gcc下MD5破解
#include <stdio.h> #include <
stdlib
.h> #include <openssl/md5.h> #include <string.h
·
2015-11-08 14:04
gcc
quick sort, 第一次试着用templete变小程序
代码 #include < stdio.h > #include <
stdlib
.h > #ifdef _DEBUG #define
·
2015-11-08 13:49
sort
编写一个简单的http server(Linux, gcc)
include < iostream > #include < pthread.h > #include <
stdlib
.h
·
2015-11-08 13:43
server
C语言初学 测定各数据类型的长度
#include<stdio.h> #include<
stdlib
.h> int main() { int a,b; int i=0; printf("char
·
2015-11-08 13:39
数据类型
三个数求平均值的问题
#include<stdio.h> #include<
stdlib
.h> main ( ) { &
·
2015-11-08 13:38
问题
[译]GLUT教程 - 整合代码7
#include <stdio.h> #include <
stdlib
.h> #include <math.h> #ifd
·
2015-11-08 13:39
代码
[译]GLUT教程 - 整合代码4
#include <
stdlib
.h> #include <stdio.h>
·
2015-11-08 13:32
代码
[译]GLUT教程 - 整合代码2
Tutorial >> Input >> The Code So Far II 以下是前面几节的完整整合代码: #include <
stdlib
.h
·
2015-11-08 13:27
代码
[译]GLUT教程 - 整合代码1
GLUT Tutorial >> Input >> The Code So Far 以下是前面几节的完整整合代码: #include <
stdlib
.h
·
2015-11-08 13:25
代码
realloc函数
原型:extern void *realloc(void *ptr, size_t newsize); 用法:#include <
stdlib
.h> 功能:改变ptr所指内存区域的大小为
·
2015-11-08 13:51
函数
控制CPU占用率曲线
#include "windows.h" #include "
stdlib
.h" #include "math.h"
·
2015-11-08 13:15
cpu
c 转置字符串You are a so cheap man ->man cheap so a are You
1、将字符串转置 2、对转置后的字符串中单词转置 1 #include<stdio.h> 2 #include<string.h> 3 #include<
stdlib
.h
·
2015-11-08 13:50
heap
hdu-4857-逃生-拓扑排序
#include<stdio.h> #include<algorithm> #include<iostream> #include<
stdlib
.h> #
·
2015-11-08 13:06
HDU
libpcap报文解析: ipv4、ipv6 @ 2014.7.2
1 #include <string.h> 2 #include <
stdlib
.h> 3 #include <pcap.h> 4 #include
·
2015-11-08 12:44
ipv4
C++之虚基类、虚函数和虚继承
首先贴上一段代码实例: #include <stdio.h> #include <
stdlib
.h> #include <iostream> #include
·
2015-11-08 11:31
C++
atoi 实现
头文件: #include <
stdlib
.h> 参数nptr字符串,如果第一个非空格字符存在,是数字或者正负号则开始做类型转换,之后检测到非数字(包括结束符 \0) 字符时停止转换,返回整型数
·
2015-11-08 11:27
实现
模板 01背包
【模板】01背包 1 # include <stdio.h> 2 # include <
stdlib
.h> 3 # include <string.h>
·
2015-11-08 11:21
模板
64位linux中使用inet_ntoa报错处理
位操作系统,在进行网络编程的时候,发现一个问题,请看源码: /*get_ip_by_name.c*/ #include <stdio.h> #include <
stdlib
.h
·
2015-11-08 11:02
linux
计算S(n)=a+aa+aaa+...... 其中a是一个数字
其中a是一个数字 输入数据 两个分别表示a和n的整数 输出数据 一个表示S(n)的整数 输入示例 3 5 输出示例 37035 1 # include <
stdlib
.h
·
2015-11-08 11:22
数字
C语言写了一个简单的通讯录
80%E6%98%93%E9%80%9A%E8%AE%AF%E5%BD%95.zip 上面为下载地址,我传到博客园上了 #include <stdio.h> #include <
stdlib
.h
·
2015-11-08 11:12
C语言
上一页
65
66
67
68
69
70
71
72
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他