码迷,mamicode.com
首页 >  
搜索关键字:typedef struct    ( 24378个结果
Learn ZYNQ (7)
矩阵相乘的例子 参考博客:http://blog.csdn.net/kkk584520/article/details/18812321 MatrixMultiply.c typedef int data_type; #define N 5 void MatrixMultiply(data_type...
分类:其他好文   时间:2014-06-28 18:02:29    阅读次数:367
POJ 3070 Fibonacci(矩阵快速幂)
题目链接题意 : 用矩阵相乘求斐波那契数的后四位。思路 :基本上纯矩阵快速幂。 1 //3070 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 struct Matrix 9 {10 int v[2][2...
分类:其他好文   时间:2014-06-28 17:48:14    阅读次数:214
c语言指针
例子:struct context { uint edi; uint esi; uint ebx; uint ebp; uint eip;}; ...p->context = (struct context*)sp;p->context->eip = (uint)forkret;结构体成...
分类:编程语言   时间:2014-06-28 17:26:51    阅读次数:172
研碎bst
bst :binary search tree(二叉搜索树)对于树中的每个节点n,左子树中的所有节点的关键字都小于节点n的关键字,右子树中所有节点的关键字都大于节点n的关键字struct node{ int key; struct node *left; //左节点 s...
分类:其他好文   时间:2014-06-28 17:06:24    阅读次数:186
Select单进程非阻塞TCP echo服务器
Select单进程非阻塞TCP echo服务器1. select 描述 #include #include int select( int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset, const struct...
分类:其他好文   时间:2014-06-28 15:52:47    阅读次数:135
将日期和时间作为 struct tm型的值直接向二进制文件进行读写
#include #include char data_file[]="D:\\%\\datetime.dat";void get_data(void){ FILE *fp; time_t t; if((fp = fopen(data_file,"r")) == NULL) printf("本程序第...
分类:其他好文   时间:2014-06-28 15:25:41    阅读次数:254
C语言——结构体数组的使用案例(如何判断两个矩形是否相交,其中一个是否包含在另外一个里面,点是否在矩形中)
Rect.hstruct CPoint { float x; float y;};typedef struct CPoint CPoint;struct CSize { float width; float height;};typedef struct CSize CSiz...
分类:编程语言   时间:2014-06-28 15:10:15    阅读次数:381
Selenium介绍
基于selenium的自动化测试,华为已经做了两代了,目前是做到SmartGUI2.0,基于他们自己的AutoSpace平台。不过目前支持的貌似只有IE和火狐(火狐3.6)。控件录制支持ID,Name属性,Struct类型,Xpath。个人觉得已经相当成熟了,AutoSpace是集成商公司测试工具部...
分类:其他好文   时间:2014-06-28 14:51:59    阅读次数:160
gocrawl 分析
1. gocrawl 类结构 1 // The crawler itself, the master of the whole process 2 type Crawler struct { 3 Options *Options 4 5 // Internal fields 6 ...
分类:其他好文   时间:2014-06-28 13:52:36    阅读次数:175
typedef函数指针使用方法
1.简单的函数指针的应用形式1:返回类型(*函数名)(參数表)char (*pFun)(int); char glFun(int a){ return;} void main() { pFun = glFun; (*pFun)(2); } 第一行定义了一个指针变量pFun。首先...
分类:其他好文   时间:2014-06-24 10:17:40    阅读次数:147
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!