原创 LinkList

#include <stdio.h> #include <stdlib.h> #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR -1 typedef char Elem

原创 DuLinkList

#include <iostream> using namespace std; #define OK 1 #define ERROR -1 #define TRUE 1 #define FALSE 0 #define OVERFLO

原创 SqStack

#include <iostream> using namespace std; #define OK 1 #define ERROR -1 #define TRUE 1 #define FALSE 0 #define OVERFLO

原创 數字螺旋方陣

 #define N 10 #include <stdio.h> void main() { int num[N][N] = {0}; int

原创 Bipartite Matching

  CS4245 Analysis of Algorithms Bipartite Matching Istvan Simon The

原创 SqList

#include <stdio.h> #include <stdlib.h> #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR -1 #define OVERFLOW -

原创 const_cast 用法

#include <iostream> using namespace std; class CCTest { public: void setNumber( int ); void printNumber() const

原创 SString

 using namespace std; #include <iostream> #define OK 1 #define ERROR -1

原创 Canny operator

//Canny operator // int _tmain(int argc, _TCHAR* argv[]) { IplImage *img = cvLoadImage("E:\\ProgramData\\data\\LenaGr.

原创 MYSQL配置

MySQL5.6.11安裝步驟(Windows7 64位) 1. 下載MySQL Community Server 5.6.14 2. 解壓MySQL壓縮包 將以下載的MySQL壓縮包解壓到自定義目錄下。 3. 添加環境變量

原创 Template matching

int _tmain(int argc, _TCHAR* argv[]) { IplImage *src, *templ, *ftmp[6]; //ftmp will hold results int i; //Read in th

原创 Preference必選其一

private void disableLastCheckedPref() { Collection<CheckBoxPreference> checked = new ArrayList<CheckBoxPreference>(

原创 cvHoughCircles

int _tmain(int argc, _TCHAR* argv[]) { IplImage *image = cvLoadImage("LenaGr.jpg", 0); CvMemStorage *storage = cvCre

原创 cvGaussBGModel

int _tmain(int argc, _TCHAR* argv[]) { IplImage* pFrame = NULL; IplImage* pFrImg = NULL; IplImage* pBkImg =

原创 use cvThreshold in three channel and truncate values above 100

void sum_rgb(IplImage *src, IplImage *dst) { //Allocate individual image planes. IplImage *r = cvCreateImage(cvGetSiz