Menu
![How How](/uploads/1/2/6/4/126415874/651122232.jpg)
Dev-C is a free IDE for Windows that uses either MinGW or TDM-GCC as underlying compiler. Originally released by Bloodshed Software, but abandoned in 2006, it has recently been forked by Orwell, including a choice of more recent compilers. Graphics.h requires a specific library that is only found on Borland compilers (I don't think the newer Borland products even have it anymore). Apr 01, 2020 The initgraph method has the following parameters. This is an integer value that specifies the graphics driver to be used. You can give graphdriver a value using a constant of the graphicsdrivers enumeration type which is listed in graphics. Normally we use. Jun 18, 2016 This answer assumes that TurboC is the IDE/Compiler being used. TurboC must be running inside a DOS Emulator or DOSBox for the 8 Bit graphics to work. You can get TurboC with DOSBox by following this link - TurboC for Windows 7v3.7.7.7majorrelease.zip. Dev-Cpp is an application which is used to code and run programs in C/C. It has its variations but none of them come with a pre-installed graphics library. So if you are switching from some primitive editor like TurboC to Dev-Cpp (which follows ANSI specifications correctly) and try to write the following code, it. Jun 23, 2018 when i use graphics in C it shows following warning: Warning deprecated conversion from string constant to 'char.' -Wwrite-strings so how to fix this problem? Or is there any other way for graphics without using graphics.h?
what is worng with this code
It shows the following:
How To Use Initgraph In Dev C File
[linker error] undefined referense to initgraph(int*,int*,char*)
[linker error] undefined referense to getmaxy()
[linker error] undefined referense to getmaxy()
[linker error] undefined referense to grapherrormsg(int)
etc...........
- 2 Contributors
- forum 2 Replies
- 691 Views
- 13 Hours Discussion Span
- commentLatest Postby Anuradha MandalLatest Post
![How To Use Initgraph In Dev C++ How To Use Initgraph In Dev C++](/uploads/1/2/6/4/126415874/912878604.png)
jonsca1,059
How To Use Initgraph In Dev C 2017
graphics.h requires a specific library that is only found on Borland compilers (I don't think the newer Borland products even have it anymore). Look up WinBGIm as a possible alternative (however, it too is quite outdated).