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. LFD211 Introduction to Linux for Developers
    08 Dec » 09 Dec - Virtual
    Details
  2. LFS220 Linux System Administration
    08 Dec » 11 Dec - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    15 Dec » 19 Dec - 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