[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help with C Code in Fedora

Thank you Jochen Schmitt, Kevin Kofler and Jud Craft,

          I developed many commercial applications using UNIX(Interactive), Fortran, "C", and Pascal some years ago, I'm comming back, and trying to mount my working environment.   At that time(first CD of Linux RED-HAT) network was not so common, the environment was single machine, multiuser serial board and Inter Process Communications, the beginning of C++.   I would like to port all these applications to linux(just for heating a litle).   I'm studing and have already got some tools like Advanced Linux Programing(Mark Mitchell, Jeffrey Oldham and Alex Samuel), some books..., and  If you would like to help me, I would appreciate.   Show me the way, and take me for a "tools update ride", I am sure that I can contribute a lot for the community.   By the way I love Linux(for me RED-HAT is the one, the best), and have a project in mind, and I'll invest on it, and all I said before is necessary for the bases of my project.   It is necessary to know some environment to choose what best fits.

Ps1: I've 3(fast dual core, 4Gb, F10-x86_64, 800GB), fast internet(3Mb), gtk2-devel and qt-devel packages installed.
Ps2: Do you see any problem for us to know each other by making a videoconferencing via Skipe? Any sugestion?

I hope I can count on you.


2009/1/16 Kevin Kofler <kevin kofler chello at>
Fedora Linux wrote:
> I am new to Linux and just installed Fedora 10 on my Machine. I wanted
> to develop graphical libraries using C (not C++). Can anyone please
> tell me if there is some place where I can download these graphical
> Libraries. For example if I want to display a pixel on the screen can
> someone please explain how I could do so using C

Do you want to have full control over drawing (e.g. for a game) or do you
want to write an application which looks like common desktop applications
(with "widgets", i.e. controls like menus, buttons and textboxes)?

For the first thing, you'll want something like SDL or Allegro. Those are
the most frequently used ones, but there are some more libraries like that
in Fedora too.

For the second thing, something like GTK+ (which is in C) or Qt (it's C++,
but it replaces most of the C++ standard library with better-designed
classes, so you may end up actually liking it - I used to hate C++ and only
like C before I started coding with Qt and KDE). In both cases, you will
quickly notice that you need to think in a more object-oriented way. There
aren't really any modern GUI toolkits which are strictly procedural. GTK+
uses some convoluted ways to write object-oriented code in C (macros,
structures with function pointers in them etc.), Qt uses C++ for it. IMHO
Qt's solution is better (and yes, I have worked with both), but I'm
biased. :-) So as a plain C programmer, you'll have to get used to the OO
paradigm (and also to event-based programming) to do GUI programming,
objects and events are the main concepts there, whether it's in C++ or in
OO-style C (like GTK+).

       Kevin Kofler

fedora-devel-list mailing list
fedora-devel-list redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]