News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Question about how to find the correct associated file.

Started by pghtech, August 08, 2006, 06:50:21 PM

Previous topic - Next topic

pghtech

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.

thomas

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
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

pghtech

Thanks kindly....I finally found the info in the individual function in the help files...I wasn't scrolling down further down.