Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Pass a value say "the final value" from a main function to some other class I am designing.

Hi,

Actually I designed a code in C++ with the help of OpenCV to process some image. In the main function I did something on image img and the processed image which I get at last is img_final.

No I am making one new code in the same project and started with the class because its not possible to have two main functions in same project. So, I designed another alogrithm with the help of class. Now I want to get the values of img_final and some other 2-3 parameters that are to be used in the present code. Both the codes are in the same project.

Please help me how to do it. I am new to programming.

Thanks.