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){ ...
阅读全文
摘要:先分配行 p = malloc(sizeof(int*)*m) ,再逐行分配列 p[i] = malloc(sizeof(int) * n)//二级指针如何分配动态内存并赋值#include #include int main(void){ int **p = NULL; //最好是显式初始化...
阅读全文
摘要://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); ...
阅读全文
摘要:FindContours在二值图像中寻找轮廓 int cvFindContours( CvArr* image, CvMemStorage* storage, CvSeq** first_contour, int header_size=sizeof(CvContour), int mode=CV_...
阅读全文