my dog learned polymorphism*
The moose likes C / C++ and the fly likes C and GUI's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » C / C++
Bookmark "C and GUI Watch "C and GUI New topic
Author

C and GUI's

frank braunstein
Ranch Hand

Joined: Dec 17, 2009
Posts: 60
Dear Forum users,
is there any easy to use GUI-library for C, similar to Swing on Java. I've been doing unsuccessfully research on this since two days.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4637
    
    5

I think the terms "easy to use GUI" and C language are incompatible. Made worse by the idea that you probably want the GUI to be OS-platform independent. Of course, its all software, so anything is possible.

Back in the 1980s, I wrote C code for Windows 386. It was possible, but it sure was not easy to use.

I rarely see "C" and "GUI" in the same set of requirements. While there is tons of C being written in the embedded space, that world does not do WIMP GUI work.
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
I agree that "easy to use" and C (or C++) don't go hand in hand, at least not in the world of free software. (Some of the commercial GUI libraries may be easier to get started with.)

Personally, I don't think that X11/Xt is hard. It's obsolete, the code is certainly verbose, and it's not fun to program - but X is widely available and free. It all depends a bit on which platform the code is supposed to run on, and how you intend to distribute the application (if at all).
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

There are a number of excellent solutions these days, actually -- Qt and wxWidgets are probably the two leading contenders. Both are cross-platform and both are perfectly decent.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: C and GUI's
 
Similar Threads
I.O read and write same time?????
Q on static inner Classes
Release Announcement - "C++ in a Nutshell" - O'Reilly
tricky question
Job Band in infosys