Can I write a GUI program in the C language in Fedora?
is it possible to write graphics program using c language in Fedora 16?
is it possible to write graphics program using c language in Fedora 16?
There are multiple choices for this. On the command line, there is ncurses and newt and for the X interface, there is GTK and Qt among others.
You might like to lookup -
for KDE apps http://doc.qt.nokia.com/4.7/tutorials.html http://techbase.kde.org/Development/Tutorials/ProgrammingTutorialKDE_4
for GNOME http://www.gtk.org/documentation.php http://live.gnome.org/Vala/Tutorial
A "graphics program" could cover many different things.
If you're interested in learning graphics programming in C on Fedora, a good place to start might be the Cairo tutorial: http://cairographics.org/tutorial/
Cairo is the 2D API that underpins the GTK stack, and the principles are applicable to many other graphical APIs, so it's worth a look if you want to learn graphical programming.
Running:
yum install cairo-devel gcc
on a Fedora box should give you the dependencies you need to run the demo.
Hope this is helpful
Another interesting language, especially for a GNOME desktop, is vala.
It is easier than C but you can use many "GUI related" libraries (written in e.g. C) you will need to create your own GUI program.
Have alook here for exampel code: https://live.gnome.org/Vala/Documentation#Sample_Code
You can try to use Eclipse or install VIM GUI and make .c file to write another way is use Emacs,
But I suggest to use Eclipse and I remmembered now ,
Take a look to "monodevelop"
Good Luck .
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2011-11-18 01:29:08 -0600
Seen: 2,106 times
Last updated: Oct 24 '12