[Ilugc] c/c++ graphics header file problem

  • From: arun289@xxxxxxxxx (Arun Venkataswamy)
  • Date: Thu, 8 Aug 2013 11:38:32 +0530

On Thu, Aug 8, 2013 at 11:18 AM, Ramesh Kumar <linuxramesh007 at 
gmail.com>wrote:

fedora linux run simple c graphics program code are writing successful  but
compile

following command #gcc ram.c -o ram

but generate error

graphics.h no such file are directory


graphics.h is associated with Borland Graphics Interface (BGI) library
shipped with Borland's Turbo C ,Turbo C++ and Turbo Pascal for DOS.

Unfortunately there is no easy equivalent to BGI graphics in Linux to my
knowledge. For C/C++ programming you can use XLib and many other
frameworks/libraries available for linux. For something as simple as BGI
graphics, you could use pygame, but that's for Python.

BGI was one of the biggest catalyst for my hobby and career in computing.
Totally forgot about that. Thanks for reminding me! Hours and hours of fun
during my school days :)


Regards,
Arun
http://wondroussky.blogspot.in/

"?????? ????? ????, ???????? ??????" - ???????
Known is a drop, Unknown is an ocean

Other related posts: