Re: Drawing and images in C

From: Michael Kragh Pedersen (m_kragh_pedersen_at_hotmail.com)
Date: 02/20/05


Date: Sun, 20 Feb 2005 15:50:21 +0100

infobahn wrote:
> Michael Kragh Pedersen wrote:
>
>>I'm making a program in C, in which I would like to be able to show
>>images and to draw on the screen. How can I do that?
>
>
> This depends to a large extent on which platform(s) you wish to target.
> Basically, you need to find a graphics library that is supported on
> (or at least available for!) your platform, and use its routines to do
> graphical things you want to do. The following list is most definitely
> non-exhaustive.
>
> MS-DOS: (Borland) BGI, various Microsoft C extensions, Allegro.
>
> Win32: Win32 API, GTK+, SDL, Allegro.
>
> Linux: (at least) XLib, GTK+, SDL, Allegro(?).
>
> Atari: last I checked, Atari machines had a graphics library in
> ROM, called VDI.
>
> Mac etc: no idea, sorry.
>
> Discussion of how to use these libraries is beyond the scope generally
> accepted as topical by comp.lang.c regular contributors, so you will
> need to find a newsgroup that deals with the platform you are targeting
> if you want further help.
Well, since it's only something, I'm making for my own computer, I can
settle with Win32 :)

But I will do that, although for me, the scope of this newsgroup is
logically everything, that has to do with the C language...you can't
really expect ppl to read from the name, that it's only for standard C,
I think :)

Michael K. P.



Relevant Pages

  • Re: C++ Firewall
    ... The standard C++ library does not offer facilities to do this. ... need platform specific functions, which are beyond the scope of this ... newsgroup. ...
    (comp.lang.cpp)
  • Re: astrophotos
    ... Certainly imaging with a Dob on an eq platform is more difficult than ... any other scope on a GEM. ... In either case, whether GEM, fork mount on wedge, or eq platform, the better ...
    (sci.astro.amateur)
  • Re: Wondering about comp.lang.c
    ... > that can be reasonably ported to any platform. ... > reducing newsgroup static the only important goal). ... > wonder where a novice C programmer, on any platform, should go to get ... darrell at cs dot toronto dot edu ...
    (comp.lang.c)
  • Re: Why doesnt this work ?
    ... > Yeah well I am just teaching myself VB.Net, ... >>> really lame but I am just learning. ... >> This newsgroup is for users of Visual Basic version 6.0 ... >> for one platform will be meaningless in the other. ...
    (microsoft.public.vb.syntax)
  • Re: strange getch+kbg- behaviour
    ... +AD4- jacob navia said: ... +AD4- platform. ... Please accept my apologies for the two mistakes I did: incorrect ... newsgroup and multi post (my newsreader is driven crazy and sent it too ...
    (comp.lang.c)