Author Topic: Question about how to find the correct associated file.  (Read 2031 times)

Offline pghtech

  • Multiple posting newcomer
  • *
  • Posts: 11
Question about how to find the correct associated file.
« 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.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Question about how to find the correct associated file.
« Reply #1 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
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline pghtech

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Question about how to find the correct associated file.
« Reply #2 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.