Closed Solved

C/C++ Compiler for Win7

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.
7 answers Last reply Best Answer
More about compiler win7
  1. http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express

    Visual Studio 2010 express edition should work just fine....
  2. well, I need it to run programs based on Bresenham's algorithms, DDA and others. Will it support??
  3. 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.
  4. #include<graphics.h> so as to use initgraph() and be able to draw line and stuff usign algorithms :)
  5. Best answer
    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.
  6. Best answer selected by fasihxkhatib.
  7. This topic has been closed by Nikorr
Ask a new question

Read More

Programming Compile C/C++ Graphics Apps