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
acm基础3_排序2
#include <stdio.h>#include <
stdlib
.h>#define MAXITEM 100typedef char ElemType[5];//?
touchmm
·
2011-04-22 22:00
ACM
acm基础2_排序1
//差入排序 #include <stdio.h>#include <
stdlib
.h>#define MAXITEM 100typedef char ElemType[5];
touchmm
·
2011-04-22 22:00
ACM
图操作 && help pro_lee
matrix_path.c#include<stdio.h>#include<
stdlib
.h>#defineMAXLEN10typedefstruct{charvexs[MAXLEN
cosa1231116
·
2011-04-22 18:00
struct
input
Path
each
FP
Matrix
linux C语言,PV实现生产者消费者问题
//信号量---线程间通信 //“生产者消费者” 问题 #include<stdio.h> #include<
stdlib
.h> #include<unistd.h
·
2011-04-21 19:00
生产者消费者
jstring, String, char* 变换函数
#include <malloc.h> #include <string.h> #include <
stdlib
.h> #include <vcclr.h
yutiansky
·
2011-04-20 17:00
jni
线程pthread_cleanup_push的简单例程.
#include<
stdlib
.h> #include<stdio.h> #include<unistd.h> #include<pthread.h>
·
2011-04-20 12:00
pthread
二叉树遍历,递归与非递归,前序中序后序遍历,C代码
#include<stdio.h> #include<
stdlib
.h> typedef struct bitnode { char data; struct
yezhiqiu-love
·
2011-04-19 14:00
C++
c
C#
tolower用法
函数名:tolower功能:把字符转换成小写字母,非字母字符不做出处理头文件:在VC6.0可以是ctype.h或者
stdlib
.h,常用ctype.h用法:inttolower(intc);示例:#include"stdio.h
alloyware
·
2011-04-18 22:00
快速排序
#include <stdio.h> #include <
stdlib
.h> void quicksort(int data[], int low, int high) {
daojin
·
2011-04-16 21:00
快速排序
c语言qsort函数(强)
qsort函数的原型可以在<
stdlib
.h>中找到,函数qsort是给任意数组排序的通用函数。
langzixin
·
2011-04-15 15:00
C++
c
C#
J#
D语言
linux system函数使用详解本篇文章来源于:开发学院 http://edu.codepub.com 原文链接:http://edu.codepub.
相关函数 fork,execve,waitpid,popen 表头文件 #i nclude<
stdlib
.h> 定义函数 int system(const char * string
灵动的水
·
2011-04-14 13:00
C++
c
PHP
linux
C#
VS2005里面 _countof 的实现
先看一下VS2005里面_countof的定义(在
stdlib
.h里面):/*_countofhelper*/#if!defined(_countof)#if!
magictong
·
2011-04-14 02:00
c
微软
编译器
strrchr(const char * s,int c)
strrchr功 能:在串中查找指定字符串的最后一个出现c的位置开始字符串用 法:char*strrchr(char*str,charc);程式例:#include#include#include"
stdlib
.h
j123kaishichufa
·
2011-04-13 20:00
用蒙特卡罗法求圆周率
问题是怎么才能知道已经达到了所需要的精度,还是需要利用概率论对数据进行加工 #include <stdio.h> #include <math.h> #include <
stdlib
.h
yangyi
·
2011-04-10 17:00
C++
c
C#
F#
出错处理
3.标准库函数
stdlib
.h voidabort(void);
stdlib
.h voidexit(i
ptn3900
·
2011-04-10 10:00
工作
linux
Stream
function
File
扩展
malloc用法
malloc用法需要包含头文件:#include'
stdlib
.h'函数声明(函数原型):void*malloc(intsize);说明:malloc 向系统申请分配指定size个字节的内存空间。
fmantianpiaolan
·
2011-04-06 16:00
c
poj1331——Multiply
#include<stdio.h> #include<
stdlib
.h> #include<string.h> #define N 10000 int main()
44424742
·
2011-04-05 09:00
C++
c
C#
二叉堆
#include <stdio.h> #include <
stdlib
.h> /** * 经常使用 heap 实现 优先级队列 */ #define MAX_SIZE
seabay
·
2011-04-04 23:00
C++
c
C#
BST 二叉查找树
自己实现的 二叉查找树,受益于人,回馈于人 #include <stdio.h> #include <
stdlib
.h> typedef struct node
seabay
·
2011-04-04 20:00
C++
c
C#
底层实现的字符串操作函数
//#include"stdafx.h"#include"stdio.h"#include"
stdlib
.h"typedefstructstring{char*ch;intlength;}string;
Zhangjay
·
2011-04-02 12:00
struct
String
表达式运算
#include"stdafx.h"#include"stdio.h"#include"
stdlib
.h"#defineN20staticcharpriority_array[7][7]={{'>','
Zhangjay
·
2011-04-02 10:00
null
input
include
组播发送和组播接收的源代码例子
Sender.cpp 文件内容如下: #include <
stdlib
.h> #include <sys/types.h> #include <sys/socke
wangxiaohigh
·
2011-03-31 20:00
源代码
C语言 内存分配 (malloc/realloc/calloc区别)
realloc(void*ptr,unsignednewsize);void*malloc(unsignedsize);void*calloc(size_tnelem,size_telsize);都在
stdlib
.h
jinjingwen
·
2011-03-31 10:00
c
存储
语言
编译器
给far的单链表代码
纯纪念 #include <stdio.h> #include <
stdlib
.h> struct student { char name[20]; struct
xserver
·
2011-03-30 22:00
C++
c
C#
C语言实现基本排序算法----排序(直接插入排序,SHELL排序,冒泡排序,快速排序,简单选择排序,堆排序)
//C语言程序----排序(直接插入排序,SHELL排序,冒泡排序,快速排序,简单选择排序,堆排序)//调试成功运行#include"iostream"#include"
stdlib
.h"#include"stdio.h
wangfaqiang
·
2011-03-30 21:00
c
算法
shell
struct
语言
iostream
C中对堆的操作函数
使用这些函数需要包含头文件
stdlib
.h1. malloc函数malloc函数可以从堆上获得指定字节的内存空间,其函数声明如
Zhangjay
·
2011-03-30 10:00
c
null
存储
编译器
C语言图形的实现与操作
#include"iostream.h"#include"fstream.h"#include"SqStack.h"#include"
stdlib
.h"#defineMAX100000#define MAX_VERTEX_NUM20
teiller2008
·
2011-03-25 10:00
穷举法 举例
1元的硬币分成cents1,2,5 第一个比较好,省一层循环,速度快,第二个三重循环,太慢 #include"stdio.h"#include"
stdlib
.h"voidmain(){intsum,five
yinxusen
·
2011-03-23 17:00
通过建立好连接的socket或者IP获取对端MAC地址
#include <stdio.h> #include <
stdlib
.h> #include <errno.h> #include <string.h
braveyly
·
2011-03-22 20:00
连接
如何理解
stdlib
.h里的_countof()宏
在
stdlib
.h里有一个宏_countof,如下:extern"C++"{templatechar(*__countof_helper(UNALIGNED_CountofType(&_Array)[_
miyunhong
·
2011-03-22 19:00
Linux下小型WEB服务器boa的使用1(转)
该程序与普通的C语言程序并无区别,只是多了我们不常用的getenv函数,它在
stdlib
.h头文件中声明,作用是获取指定的环境变量的值,比如我的系统中HOME这个环境变量值为/home/latelee/
xmphoenix
·
2011-03-22 12:00
linux
String
server
cgi
query
web服务
从配置文件中获取IP,并分段显示
#include"stdio.h" #include"
stdlib
.h" #include"string.h" #include"malloc.h" #defineN20 #defineM256 typedefstructnode
tianmo2010
·
2011-03-21 23:00
struct
File
null
include
FP
C standard library headers
* [×]Stdio.h(12 P) [×]
Stdlib
.h(13 P) Pages in cate
javababy1
·
2011-03-21 00:00
library
C standard library headers
.*[×] Stdio.h (12P)[×]
Stdlib
.h (13P)Pagesincategory"Cstandardlibraryheaders"Thefollowing24pagesarein
liufei_learning
·
2011-03-21 00:00
c
list
文档
library
头插法建立单链表
#include <stdio.h> #include <
stdlib
.h> typedef struct { int id; char name[20]; }Item
ackerman
·
2011-03-18 10:00
单链表
约瑟夫问题(单向链表)
#include"
stdlib
.h" #include"stdio.h" structNode{ intdata; Node*next;};intmain(){ intn,k=1,m,i,s; Node
ituff
·
2011-03-16 11:00
约瑟夫问题(顺序表)
#include"
stdlib
.h" #include"stdio.h" #include"conio.h" #definenmax255 main() { inti,j,k,m,n,num[nmax]
ituff
·
2011-03-16 11:00
ini
include
非递归遍历二叉树
#include<stdio.h> #include<
stdlib
.h> #include<conio.h> #define STACK_INIT_SIZE 100
加州板栗
·
2011-03-15 14:00
C++
c
C#
把一个有序整数数组放到二叉树中
#include"stdio.h"#include"
stdlib
.h"#include"string.h" structstudent{ intvalue; structstudent
zhongjiekangping
·
2011-03-14 13:00
struct
tree
null
include
字符格式数字?
#include"stdio.h"#include#include"
stdlib
.h"#includecharstr[12],z[10][10][6];intnum[12],i,j,k,u,n,m,conter
jokers_i
·
2011-03-10 23:00
分支限界法实现背包问题
/*0/1背包问题的分支定界法算法*/#include<stdio.h>#include<
stdlib
.h>#defineMAXNUM100structnode{intstep;
mark2you
·
2011-03-10 21:00
算法
struct
null
UP
生成随机数并计算随机数分布情况
#include <stdio.h> #include <
stdlib
.h> #define N 100000 int a[N]; void gen_rand
bestscw
·
2011-03-09 13:00
C++
c
C#
C搜索函数
先放上一段代码 Code: #include<stdio.h> #include<
stdlib
.h> #defineNMEMB50 #defineSIZE10
lovnet
·
2011-03-09 12:00
函数
poj 1011 dfs+剪枝
#include <stdio.h> #include <
stdlib
.h> #include <string.h> #define DEBUG
kenby
·
2011-03-07 17:00
算法
DFS
poj 1251 kruskal算法求最小生成树
nbsp; #include <iostream> #include <stdio.h> #include <string.h> #include <
stdlib
.h
kenby
·
2011-03-07 17:00
kruskal
最小生树
poj 2195 km算法求最佳匹配
nbsp; #include <iostream> #include <stdio.h> #include <string.h> #include <
stdlib
.h
kenby
·
2011-03-07 16:00
最佳匹配
KM算法
sizeof 给力总结
#include"stdio.h"#include"
stdlib
.h"#includeusingnamespacestd;classBase{inta;charb;};//sizeof(Base)=8classDerive
anewhuahua
·
2011-03-07 10:00
数据结构
c
cache
Class
include
hdu Can you find it?之折半查找
这道题说明:折半查找时间复杂度低,数据可以边吸收边计算,空间复杂度低,有效的代替了暴力算法、把查找与等式相融合、 #include<stdio.h>#include<
stdlib
.h
olo
·
2011-03-03 19:00
find
完全二叉树的建立(2)
#include<stdio.h>#include<
stdlib
.h>#include<queue>using namespace std;typedef struct
olo
·
2011-03-03 19:00
二叉树
两个有序数列的合并(链表的应用)(4)
//两个有序数列的合并#include<stdio.h>#include<
stdlib
.h>typedef struct No{int date;No* next;} Node;
olo
·
2011-03-03 19:00
链表
上一页
133
134
135
136
137
138
139
140
下一页
按字母分类:
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
其他