I know that if I wan to use print something in openGL, I would used this
Code:
glutDisplayFunc(renderScene);
But now the problem is in my code, if I wan to display something in the screen, I use this.
Code:
if (myKeys['o'] == true)
{
    glutDisplayFunc(renderScene);
}
It would not work because I am using pointer. I received this error.

error C3867: 'myApplication::renderScene': function call missing argument list; use '&myApplication::renderScene' to create a pointer to member


So I edit and change to this.
Code:
if (myKeys['o'] == true)
{
    myApplication::renderScene();
}
It work but the problem is I need to include the glutDisplayFunc too. How should I do this to code that include the glutDisplayFunc in my application class with the function render scene.