Sign in with
Sign up | Sign in
Your question
Closed

C/C++ Compiler for Win7

Last response: in Apps General Discussion
Share
February 9, 2012 7:43:57 AM

Hello,
I wanted a compiler for C/C++ that will allow me to include graphics.h. The older versions like Borland and Turbo dont run in full screen mode.
I have a newer version of Borland but it doesnt support graphics.h .
Plz help.

More about : compiler win7

February 9, 2012 1:15:40 PM

well, I need it to run programs based on Bresenham's algorithms, DDA and others. Will it support??
Score
0
Related resources
February 10, 2012 12:37:20 PM

It depends on what graphics.h you mean. Where are you getting the graphics.h from? It will need to be paired with the correct library also.
Score
0
February 10, 2012 3:36:29 PM

#include<graphics.h> so as to use initgraph() and be able to draw line and stuff usign algorithms :) 
Score
0

Best solution

February 10, 2012 5:35:52 PM

I think you miss-understood what I meant. After a little digging it looks like graphics.h and initgraph are from a strictly dos/turbo c library.

Your problem is very much linked to the fact that dos has changed. You can either program in a dos emulator, or find a new graphics library to use when you are programming.

You might take a look at SDL to see if it does what you need it to.

http://www.libsdl.org/

Then you will be able to use any compiler, any OS, and quite a few languages.
Share
February 11, 2012 2:27:25 AM

Best answer selected by fasihxkhatib.
Score
0
February 11, 2012 10:05:13 AM

This topic has been closed by Nikorr
Score
0
!