Hi, I am not very familiar with GCC. Can you please tell me how to do graphics programs in GCC like draw circles,ellipse and all that stuff ?
Is there any equivalent header file of "Graphics.h" of TurboC in GCC?
Hi, I am not very familiar with GCC. Can you please tell me how to do graphics programs in GCC like draw circles,ellipse and all that stuff ?
Is there any equivalent header file of "Graphics.h" of TurboC in GCC?
Have you done any C programming at all? Most people would probably use a framework such as SDL to do graphics.
Cairo may be what you are looking for.
Think carefully before executing commands containing "rm", especially "sudo rm -rf ", if you require more information concerning this matter, read this.
I am an experimenter, give me the most stable OS and I can make it unstable in a few hours.
C == seriously fast == FTW!
thanks for telling abt cairo
In short, there is no standard for graphics in C, and nothing gcc-specific, either. So you're looking at add-on libraries. SDL is one of the simplest to work with, although lines, circles, etc. aren't its strong suit (it's focused on blitting bitmaps). I've heard good things about Cairo, but I haven't tried it.
this one's C++, rather than C, but look at
http://www.openframeworks.cc/
Bookmarks