jsbsudha
asked on
glutdisplay function
I want to have the class object as a parameter in Display(common *s) function (where common is a class) which is called in glutDisplayFunc(Display)
But it shows error that i should not use parameters in display func.....Is there any way to do it....?
But it shows error that i should not use parameters in display func.....Is there any way to do it....?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>> so i will come to you after some time.....
What do you mean ? Is your question answered, or do you need further assistance with this?
What do you mean ? Is your question answered, or do you need further assistance with this?
ASKER
As I am working on the task of converting the procedural way program into object oriented way...... I would like to ask some other doubt regarding this usage of global object....now i could not accept your solution readily.......if i find that everything works fine if I declare it as a global object......then i can close this question............
Thank you
Thank you
ok :)
hey jsbsudha, i8 gave you the only possible answer(s) .. please be so kind and pay a little respect to that, dont wait months to close it, it would just be fair to do so, because he tried to help you and he did .. remember its a give and take here .. :)
ASKER