There are some weird lines of code in this .cpp file
What exactly is:Code:VideoInput::VideoInput(): capture(cvCaptureFromCAM(0)), framecount(0), frame(cvQueryFrame(capture)), size(cvSize(frame->width, frame->height)) {} VideoInput::VideoInput(const char* filename): capture(cvCaptureFromFile(filename)), framecount(0), frame(cvQueryFrame(capture)), size(cvSize(frame->width, frame->height)) {}
capture(cvCaptureFromFile(filename)), framecount(0),
frame(cvQueryFrame(capture)), size(cvSize(frame->width, frame->height))
It's not parameters? They're just function calls stringed together via comma's....



LinkBack URL
About LinkBacks


