Open cv…here i have written my code below….
sir…here i have written my code below….it's showing no error but it is not showing output image and showing just cmd as shown….
#include <stdio.h>
#include "cv.h"
#include "highgui.h"
int main()
{
IplImage *p=cvLoadImage("C:/Users/Pratik/Desktop/Open_CV/exa_2603/peppers.png");
cvNamedWindow("Exa1", CV_WINDOW_AUTOSIZE);
cvShowImage("Exa1" ,p);
cvWaitKey(0);
cvDestroyWindow("Exa1");
cvReleaseImage( &p);
// p=cvLoadImage("cameraman.tif");
// IplImage *q=cvCreateImage(cvSize(300,300),IPL_DEPTH_8U, 1);
// cvShowImage( "exa1", q);
//cvWaitKey(0);
return 0;
}
cmd with message like this:
process returned 0
press any key to continue








