This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <opencv\cv.h> | |
#include <opencv\cxcore.h> | |
#include <opencv\highgui.h> | |
int main() | |
{ | |
IplImage* pFrame = NULL; | |
IplImage* pFrameNew = NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <time.h> | |
#include <cv.h> | |
#include <highgui.h> | |
int main() | |
{ | |
IplImage *img = cvCreateImage(cvSize(5000, 5000), IPL_DEPTH_8U, 1); | |
cvZero(img); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <cv.h> | |
#include <highgui.h> | |
#include <iostream> | |
#include <queue> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
double foo(double a, double b) | |
{ | |
double square(double a) { return a * a; } | |
return square(a) + square(b); | |
} | |
int main(int argc, char **argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
long time; | |
printf("I Love You"); | |
for(; ;) | |
{ | |
system("color a"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/types.h> | |
#include <regex.h> | |
int main(int argc,char** argv) | |
{ | |
int status,i; | |
int cflags=REG_EXTENDED; | |
regmatch_t pmatch[1]; | |
const size_t nmatch=1; | |
regex_t reg; |
NewerOlder