码迷,mamicode.com
首页 >  
搜索关键字:struct stat    ( 35365个结果)
普通平衡树代码。。。Treap
应一些人之邀。。。发一篇代码 1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 struct node 8 { 9 int data; 10 int key; 11...
分类:其他好文   时间:2014-05-23 05:17:06    阅读次数:246
无锁环形队列
1 #include "stdafx.h" 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 #define MAX_VIDEO_BUFF 1024 9 10 struct Header 11 { ...
分类:其他好文   时间:2014-05-21 20:04:15    阅读次数:377
(5.20)step计数触发定时器--雪花效果
// mainViewController.m// 雪花//// Created by pg on 14-5-20.// Copyright (c) 2014年 mqd. All rights reserved.//#import "mainViewController.h"//时钟刷新步长stat...
分类:其他好文   时间:2014-05-21 18:39:12    阅读次数:243
C++类学习笔记
在C++中struct类型(结构体)属于类类型。 class student {} 与 strcut student {}是一样的,唯一的区别就是class中如果未对成员进行public、private或protected等访问限定声明则默认为private的,而struct中则默认为publ...
分类:编程语言   时间:2014-05-21 17:55:05    阅读次数:231
day19 数据库的初步认识
一:数据库的概念数据库:一个用于储存数据并可以对之进行管理和使用的软件系统。sql:struct(结构) query(查询) language(语言) 结构化查询语言: 其实是一种国际化语言标准,在这个基础上开发数据库产品数据库产品:mysql oracle db2 mssql......需要记住的...
分类:数据库   时间:2014-05-21 17:52:24    阅读次数:234
动态内存分配函数与释放函数
(1)分配函数 void *malloc(sizeof(unsigned size) 功能:在内存的动态存储区中分配一块长度位size的连续空间。 返回值:指针,存放被分配内存的起始地址。若未申请到空间,则返回NULL(0)。 void *:指向任何类型的数据,在使用时,要进行强制类型转换。 例如:int *malloc(sizeof(int)) struct student *mal...
分类:其他好文   时间:2014-05-21 17:10:29    阅读次数:231
栈
#include #include #include #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #define OVERFLOW -1 #define OK 1 #define ERROR 0 typedef int Status; typedef int SElemType; typedef struct {...
分类:其他好文   时间:2014-05-21 16:31:38    阅读次数:215
图像处理之——浮雕效果实现
#include #include #include typedef unsigned short WORD; typedef unsigned long DWORD; typedef unsigned char BYTE; /* typedef struct tagBITMAPFILEHEADER { WORD bfType; DWORD bfSize; W...
分类:其他好文   时间:2014-05-21 16:08:23    阅读次数:347
uip 作为tcp sever 流程测试
之前用过uip作为udp使用,但将它作为server还没有涉及到,最近有个小项目中需要使用。以下针对它作为tcp_server流程测试和探索。 struct timer periodic_timer, arp_timer;   //struct uip_udp_conn myUdp_Con; //struct uip_udp_conn *pMyUpd_Con; //...
分类:其他好文   时间:2014-05-21 08:51:30    阅读次数:490
POJ 2677(双调旅行商问题<bictonicTSP>
Tour Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3470 Accepted: 1545 Description John Doe, a skilled pilot, enjoys traveling. While on vacation, he rents a...
分类:其他好文   时间:2014-05-21 08:24:18    阅读次数:354
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!