Ask Your Question

IA Obaidat's profile - activity

2014-04-13 12:39:02 -0500 asked a question convert to C++

hi all,
how may i convert this portion of C code to c++

.
.
.
int winC,hinC;
winC = ceil(ids->sof0.imageWidth/8.0);
hinC = ceil(ids->sof0.imageHeight/8.0);
IplImage *img;
img = cvCreateImage(cvSize(winC*8, hinC * 8), IPL_DEPTH_8U, ids->sof0.numberOfComponents);
.
.

and thanks in advance.