User forums > General (but related to Code::Blocks)

Need help defining member function arguments please

<< < (2/2)

rcoll:
OK ... it's a little clearer.  If I understand correctly, then you should use

if (! setOpenGL.GetScreenMode()) {
    setOpenGl.QuestionScreenMode();
}


If you want it as a single line then

if (! setOpenGL.GetScreenMode()) setOpenGl.QuestionScreenMode();

If you want it as a single (nested) function call, then the
calling convention to GetScreenMode will have to change.

Cheers,
Ron


Game_Ender:
This is a general issues with Code::Blocks forum, not a General issues with the programs you are making with Code::Blocks forum.  ProgrammingForums is a good place to get these kind of questions answered, not here.

Good luck with your project.

Navigation

[0] Message Index

[*] Previous page

Go to full version