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 ben
    5 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 TsaniApani
    5 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Internet

Upcoming Linux Foundation Courses

  1. LFS230 Linux Network Management
    06 Oct » 09 Oct - Virtual
    Details
  2. LFD331 Developing Linux Device Drivers
    13 Oct » 17 Oct - Virtual
    Details
  3. LFS430 Linux Enterprise Automation
    13 Oct » 16 Oct - 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