Running C Graphics Programs In Linux

ms_cs

ms_cs

@ms-cs-Ab8svl Oct 26, 2024
I use Gcc in generally for running c programs, Just 5 minutes before I attempted to run the program that includes the graphics.h header file.But I get the error as, "cannot find file graphics.h", How to run program using gcc...or is there any other compiler available to run c programs with graphics options

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Vivek788

    Vivek788

    @vivek788-DRsI4W Mar 21, 2009

    u can't use that header for doing graphics programming in linux..use svgalib library and use it for programming..have a user a/c that has sudo power or root power,or you won't be able to execute your programs. Its fairly simple to use..and few documentation available online..enough for learning the basics though...
  • MaRo

    MaRo

    @maro-Ce3knx Mar 22, 2009

    EDIT: Google has some solutions & tutorials for it, may be some libraries needed.
  • ms_cs

    ms_cs

    @ms-cs-Ab8svl Mar 22, 2009

    Ok..I will try that...
  • vnvnvn2000

    vnvnvn2000

    @vnvnvn2000-Uy5ufG Mar 25, 2009

    Borland' C/C++ compiler's a little different eg graphics.h etc is not a defacto thus not present in g++.Now many books for eg Cpp for Dummies etc cites examples been compiled on using gcc either in Windows OS or Linux.In windows some minimalist gnu...mingw32 etc should be installed.