Hi,
I'm new to the c++ with win32.. I do not know how to add the headers and source files. Some of the sample program i downloaded works when i click the .exe file but when i open the .cpp files and run it, it says that cannot open include file: fstream.h..
Why is that so since i can run the sample .exe.. I like to know how the header and source file works..
IplImage* img1 = 0;
IplImage* img2 = 0;
if(!cvGrabFrame(capture1)){ // capture a frame
printf("Could not grab a frame from camera 1\n\7");
exit(0);
}
if(!cvGrabFrame(capture2)){ // capture a frame
printf("Could not grab a frame from camera 2\n\7");
exit(0);
}
img1=cvRetrieveFrame(capture1); // retrieve the captured frame
img2=cvRetrieveFrame(capture2);
// create a window
cvNamedWindow("Left", CV_WINDOW_AUTOSIZE);
cvMoveWindow("Left", 100, 200);