What is a C header file?

What is graphic functions header file in Microsoft Visual C++ 6.0?

  • In a C++ Source File program that runs in DOS, what header file contains graphic functions such as _setpixel(), _setvideomode(), _lineto(), …? What is it's path and name? Thanks.

  • Answer:

    If your code will work purely in DOS mode (no Windows at all) you can get to a graphics mode using DOs Interrupts to set mode which defines the resolution and color depth (in DOS there is no wayb to use high resolutions with out using compatible VESA drivers for your video card) then can put pixels just by directly writting to memory locations segment b800h and a000h point to video adapters video buffer. If you are using Windows you can use GDI.h (Graphics Device Interface) for a standardized video API independent of video driver. You use device contexts to access the graphic functions. Loren Soth

Peace at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.