10 2017 档案

摘要:#include#include#include#includetypedef struct node{ int data; struct node *next; }g_tNode,*g_ptNode;static g_ptNode ptHead;void AddTailNew(int num){ ... 阅读全文
posted @ 2017-10-30 14:18 隔壁王叔叔a 阅读(683) 评论(0) 推荐(0) 编辑
摘要:先分配行 p = malloc(sizeof(int*)*m) ,再逐行分配列 p[i] = malloc(sizeof(int) * n)//二级指针如何分配动态内存并赋值#include #include int main(void){ int **p = NULL; //最好是显式初始化... 阅读全文
posted @ 2017-10-21 16:44 隔壁王叔叔a 阅读(382) 评论(0) 推荐(0) 编辑
摘要://m^n函数//返回值:m^n次方.u32 LCD_Pow(u8 m,u8 n){ u32 result=1; while(n--)result*=m; return result;} //显示数字,高位为0,还是显示//x,y:起点坐标//num:数值(0~999999999); ... 阅读全文
posted @ 2017-10-08 18:28 隔壁王叔叔a 阅读(1015) 评论(0) 推荐(0) 编辑
摘要:FindContours在二值图像中寻找轮廓 int cvFindContours( CvArr* image, CvMemStorage* storage, CvSeq** first_contour, int header_size=sizeof(CvContour), int mode=CV_... 阅读全文
posted @ 2017-10-01 14:21 隔壁王叔叔a 阅读(844) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示