开发者

OpenCV Contours?

I keep getting an error with this part of the code

&contours = ((contours.h_next) -> h_next);
contours.h_next = ((contours.h_next) -> h_next) -> h_next;

The error states "lvalue required as left operan开发者_如何学编程d of assignment"

Anyone know what I am doing wrong?

PS: I am not able to post the complete code right now sorry

Oh and contours isn't a pointer to a sequence - its an actual sequence


&contours is a pointer value. you can't assign to a value. e.g. you can't assign to 42.

Cheers & hth.,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜