码迷,mamicode.com
首页 >  
搜索关键字:include    ( 84546个结果
字符串的基本操作
#include "string.h"#include "stdio.h"#include "stdlib.h"#include "math.h"#include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#def...
分类:其他好文   时间:2015-07-07 14:25:51    阅读次数:113
稀疏矩阵操作(三元组表示法)
#include #include #define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#define MAXSIZE 100typedef int Status;typedef float ElemType;typedef struct{...
分类:其他好文   时间:2015-07-07 14:23:57    阅读次数:168
CF 260 B. Fedya and Maths
cf 260 B 提示:找规律#include #include #include #include using namespace std; const int maxn=1e5+5; char s[maxn]; int main() { cin>>s; int len=strlen(s); i...
分类:其他好文   时间:2015-07-07 13:11:01    阅读次数:103
排序算法复习
排序算法复习 作者:vpoet mails:18200268879@163.com 注:转载请注明出处 #include #include using namespace std; void Bubble_Sort(int UnSort[],int length); void Select_Sort(int UnSort[],int length); void Ins...
分类:编程语言   时间:2015-07-07 13:02:12    阅读次数:120
setbuf和freopen
看memcached代码的时候学习了一个api,setbuf,可以设置文件流的缓冲区。 #include void setbuf(FILE *stream, char *buf); void setbuffer(FILE *stream, char *buf, size_t size); void....
分类:其他好文   时间:2015-07-07 12:52:15    阅读次数:180
顺序栈
#include "stdio.h"#include "stdlib.h"#include "math.h"#include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#define MAXSIZE 20 /* 存...
分类:其他好文   时间:2015-07-07 12:49:25    阅读次数:114
静态链表
#include "string.h"#include "ctype.h"#include "stdio.h"#include "stdlib.h"#include "math.h"#include "time.h"#define OK 1#define ERROR 0#define TRUE 1#...
分类:其他好文   时间:2015-07-07 12:48:32    阅读次数:205
Linux IPC 同步(四):信号量
Posix semaphore有名信号量/* sem_open - initialize and open a named semaphore */#include /* For O_* constants */#include /* For mode cons...
分类:系统相关   时间:2015-07-07 12:46:03    阅读次数:188
顺序表
#include#include#include#include#define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#define MAXSIZE 20 //存储空间初始分配量typedef int Status; //函数的类型typed...
分类:其他好文   时间:2015-07-07 12:44:06    阅读次数:136
链式队列
#include "stdio.h"#include "stdlib.h"#include "math.h"#include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#define MAXSIZE 20 /* 存...
分类:其他好文   时间:2015-07-07 12:43:41    阅读次数:84
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!