Link to home
Start Free TrialLog in
Avatar of fatimao
fatimao

asked on

simple graphics in gcc (mingw3.1)

hi,
i am using gcc - mingw for programming. I want to draw simple graphics, like drawing a line/ rectangle, changing background/foreground color, text size color, goto xy etc. Earlieri have worked in borlandc where this all can be done using simple call of build-in functions provided in conio.h and graphics.h ... but these are not working in gcc, perhaps because of different definations of header files.

Please help me in drawing basic graphics in gcc. Is there some other header file that provide these functionalities? or some otherway out?

regards
fa
ASKER CERTIFIED SOLUTION
Avatar of gerhardschoeman
gerhardschoeman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ikework
hi fatimao,

which os do you use? if you work with linux, there is a lib called ncurses, which does some basic graphics in the console/goto xy and textcolor stuff ...

hope it helps
ike