itsmeisuru 0 Newbie Poster

Hi

#include "cv.h"
#include "cxcore.h"
#include "cxtypes.h"
#include "highgui.h"

int main() {
CvCapture* capture = cvCreateFileCapture("RosewellBst.mp4");
cvNamedWindow( "Example2", 1 );
    cvMoveWindow( "Example2", 100, 100);

IplImage* frame;
while(1) {
frame = cvQueryFrame( capture );
if( !frame ) break;
cvShowImage( “Example2”, frame );
char c = cvWaitKey(33);
if( c == 27 ) break;
}
cvReleaseCapture( &capture );
cvDestroyWindow( “Example2” );
}

when compiling the above code it gives errors at the red underlined line.
Please solve this for me.
I'm new to cpp and OpenCV

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.