0

How can i doing draw a circle without graphic.h?

I want draw a circle in c or c++ but I don't want use graphic.h header can you help me?

24th Apr 2017, 3:46 AM
mohammad
mohammad - avatar
3 Answers
+ 5
Then use openGL :P
24th Apr 2017, 4:10 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 3
As I know, if you want to work with pixels and draw shapes onto screen, you'd either use BGI graphics library (comes with graphic.h) which works best on VC++ and DevC++ or Curses library that primarily was designed to build GUI for console-based programs. Otherwise you might choose the hard way which is draw using ASCII patterns. See: https://www.cs.colorado.edu/~main/bgi/visual/ http://stackoverflow.com/questions/19602379/draw-simple-box-using-curses
24th Apr 2017, 4:20 AM
Babak
Babak - avatar
0
Thanks a billion
2nd Nov 2018, 12:40 PM
mohammad
mohammad - avatar