Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: pghtech on August 08, 2006, 06:50:21 pm

Title: Question about how to find the correct associated file.
Post by: pghtech on August 08, 2006, 06:50:21 pm
As a newbie to C++, I am having a problem finding what Header needs to be included when I search on the net or in Help and find a function I want to use.

I have an opengl program, that i simply want to add user message box that ask if they want to run it in fullscreen or not when it launches. But when I look up functions to serve this purpose in the help, I don't any reference to what header file needs to be included to use the function.
Title: Re: Question about how to find the correct associated file.
Post by: thomas on August 08, 2006, 06:57:01 pm
That depends very much on the platform and/or toolkit you use.

For example, for a "plain normal, naked" OpenGL program with just Windows and no special toolkit: windows.h
Title: Re: Question about how to find the correct associated file.
Post by: pghtech on August 08, 2006, 08:47:09 pm
Thanks kindly....I finally found the info in the individual function in the help files...I wasn't scrolling down further down.