Linux.com

Home Learn Linux Linux Answers Internet Regarding the GCC C compiler for Linux is it possible to execute Graphical programs i mean even the simple circle and other geometrical shapes using the standard C graphical commands?
Answers
  • C doesn't have "standard" output libraries !
    you can output some graphics by using external libs for framebuffer/libjpeg/vgalibs (without X) or something else for XWin (a lot of them: GTK, ...)

    Answered by Andrea Benini
    4 years ago
    0 0
  • The closest thing to "standard C graphical commands" that you'll get is openGL. There are some very simple tutorial programs out there starting with:

    http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=02

    At the bottom of the screen you'll notice there's 3 different linux examples with various tradeoffs involved...

    Answered by Tsani Apani
    3 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Internet

Upcoming Training Courses

  1. LF411 Embedded Linux Development
    24 Jun » 28 Jun - Silicon Valley
    Details
  2. LF331 Developing Linux Device Drivers
    05 Aug » 09 Aug - Virtual
    Details
  3. LF320 Linux Kernel Internals and Debugging
    12 Aug » 16 Aug - Virtual
    Details

View All Upcoming Courses

Community Answers - Search


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board