NetBeans graphic problem

Mar 28, 2013 at 4:48pm
Hi, i started working with C++ in NetBeans (MinGW) and faced a problem - compiler cant find any libraries related to graphis (<graphics.h> and so on). Is it possible to fix it?
Mar 28, 2013 at 5:08pm
graphics.h is an outdated non-standard 16-bit extension to Borland compilers. Forget about it. Let it rot in oblivion where it is rightfully belongs.
If you absolutely want it, this may help you: http://rushabhthathi.wordpress.com/2011/01/22/getting-graphics-h-to-work-on-mingw32-gnu-c-compiler/
Mar 28, 2013 at 5:10pm
+1 @ MiiNiPaa.

Any tutorial/book/site/guide that is telling you to use graphics.h is probably one you should throw in the trash.
Mar 28, 2013 at 5:16pm
so what would be better to use instead graphics.h?
Last edited on Mar 28, 2013 at 5:16pm
Mar 28, 2013 at 5:28pm
Direct WinAPI calls, SDL, SFML, pdcurses (for console)...
Mar 28, 2013 at 5:36pm
Thanks MiiNiPaa :)
Topic archived. No new replies allowed.