Search : in
By :

Problem of graphics.h in windows

surendra, on Sep 18, 2009 5:51:29 pm BST
 Report this message to moderators

Hello,
can anyone tell me how to use graphics program in c language under windows.The use of header file graphics.h
pops the message of error that "bgi graphics is not supported under windows".pllllzzzz solve my problem .

Configuration: Windows Vista

Best answers for « problem of graphics.h in windows » in :
Log in remotely with SSH (Windows) ShowLog in remotely with SSH (Windows) Issue Solutions Graphical mode Issue Unlike Linux, the SSH client is not endemic to Windows OS. First of all you must have one installed. Solutions Click on the following link: Download SSH...
3D Graphics Software Show3D Graphics Software Art of Illusion Blender Pov Ray Calimax Modeller DAZ 3D Genesis 3D Editor GLC Player ZModeler Professional 3D computer-generated imagery created by studios like Warner Bros or Pixar are generated by 3D...
Graphical interfaces for SQLite ShowGraphical interfaces for SQLite SQLite is a powerful database management engine found in a relatively small C programming library; it requires no monitoring and can be used with most programming languages (C, C++, Java, Python). Unlike...
Download SiS UniVGA2 Graphic Driver ShowSilicon Integrated Systems Corporation, driver UniVGA2 is a SIS universal Graphic Driver which supports the following graphic chips : SiS650, SiS651, SiSM650, SiS650GX, SiS740, SiS650GL, SiSM741, SiS741GX, SiS741...
Icons and windows in Windows ShowUser interface glossary Windows was designed so that off-putting, difficult-to-remember commands that had to be typed in manually would no longer be needed. Instead, it is a graphical interface that includes elements you can click on, in order to...
File sharing in Windows XP ShowAdvantages File sharing involves making the content of one or more directories available through the network. All Windows systems have standard devices making it easy to share the content of a directory. However, file sharing may lead to security...
User management in Windows NT ShowThe notion of a user Windows NT is an operating system which manages sessions, meaning that when the system is started, it is necessary to log in with a user name and password. When Windows NT is installed, the administrator account is created by...

1

xpcman, on Sep 18, 2009 6:18:12 pm BST
  • +1

You haven't said what version of C you're using. I know they made some Windows versions... and since the BGI graphics libraries pretty much call directly into the VGA BIOS registers, I'm guessing you cannot use them under Windows. So your two choices are to either set the compiler to build an MS-DOS app and work like that, or use GDI32 API calls instead, or some newer API like that.. whatever C provides.

2

surendra, on Sep 19, 2009 6:31:52 am BST
  • +1

I am using Turbo C++ for Windows 4.5 . Sir, how can i set compiler to build MS-DOS app?

3

Kele, on Sep 21, 2009 10:30:54 am BST

Turbo C++ is completely outdated.
Use Visual Studio

4

bittubitun89, on Oct 1, 2009 3:18:23 am BST

I have seen my friend to do graphics program in vista NOT DIRECTLY FROM VISTA BUT FROM SAFE MODE USING COMMAND PROMPT.....ENTER THERE WAIT FOR 45-50 SECS BLACK SCREEN WOULD COME SHOWING-------

C:\>

TYPE------

cd..
C:\>cd tc [C:\>would be showing]
C:\TC\>cd bin [C:\TC\>would be showing]
C:\TC\BIN\>tc.exe [C:\TC\BIN\>would be showing]

tc would run without mouse support and then try it

5

 Imar, on Oct 2, 2009 9:19:43 am BST

Graphics.h is outdated
Use Win32 api (see on Win32 group http://tinyurl.com/cmhb5g for C code for advanced graphics)