I have never coded any GUI applications before. I was wondering what would be the best API or toolkit to learn that isn't too complicated. Thanks for the help in advance.
trainee
I have never coded any GUI applications before. I was wondering what would be the best API or toolkit to learn that isn't too complicated. Thanks for the help in advance.
trainee
Tux says hello.
The best? Hard to say. Qt and GTKmm are both very easy though.
The main difference is in the licensing, and that GTKmm makes better use of C++ features.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
For Win32 platform, I recommend MFC.
Kuphryn
I don't.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
Yeah, avoid MFC. I suggest GTK or even wxWindows, all portable.
For Win32 platform, I recommend Win32 API.For Win32 platform, I recommend MFC.
Thor's self help tip:
Maybe a neighbor is tossing leaf clippings on your lawn, looking at your woman, or harboring desires regarding your longboat. You enslave his children, set his house on fire. He shall not bother you again.
OS: Windows XP
Compiler: MSVC
I am actually coding for Linux, but I wouldn't mind it if it was cross-platform. Thanks again.
trainee
Tux says hello.
OK why should you avoid Microsoft Fried Chicken?Yeah, avoid MFC. I suggest GTK or even wxWindows, all portable.
"Life, it's all in how you script it."
Because it's not a good class library. It neither achieves platform-independence, nor is it as easy to use as the other class libraries. It is very poorly suited for late code changes (I scraped an MFC project twice because of this, before finally switching to Java and Swing). It requires you to write a lot of code that is cryptic, non-C++-ish and could easily be hidden. It is old, very old, which means it doesn't take advantage of modern C++ features as much as it should. Neither does Qt, but GTKmm does it very well, and at least the Qt containers are compatible with STL algorithms.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
^
Besides, it don't work on the good ol' penguin.
And yes, it's a really weird method of doing apps.
SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
I say what I say, I mean what I mean.
IDE: emacs + make + gcc and proud of it.
Besides, it don't work on the good ol' penguin.It neither achieves platform-independence
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
I was thinking of learning wxWindows, but I can't get it to install correctly in Fedora.
Everything seems okay, until the followingCode:[root@hnlhi1-ar6-4-7-224-047 root]# yum install wxGTK Gathering header information file(s) from server(s) Server: Fedora Core 1 - i386 - Base Server: Fedora.us Extras (Stable) Server: Fedora.us Extras (Testing) Server: Fedora.us Extras (Unstable) Server: Livna.org - Fedora Compatible Packages (stable) Server: Livna.org - Fedora Compatible Packages (testing) Server: Livna.org - Fedora Compatible Packages (unstable) Server: macromedia.mplug.org - Flash Plugin Server: Fedora Core 1 - i386 - Released Updates Finding update packages Downloading needed headers wxGTK is installed and is the latest version. No actions to take
That part about "Resolving dependencies" takes close to 30 minutes. Does anyone know how to fix this?Code:[root@hnlhi1-ar6-4-7-224-047 root]# yum install wxGTK-devel Gathering header information file(s) from server(s) Server: Fedora Core 1 - i386 - Base Server: Fedora.us Extras (Stable) Server: Fedora.us Extras (Testing) Server: Fedora.us Extras (Unstable) Server: Livna.org - Fedora Compatible Packages (stable) Server: Livna.org - Fedora Compatible Packages (testing) Server: Livna.org - Fedora Compatible Packages (unstable) Server: macromedia.mplug.org - Flash Plugin Server: Fedora Core 1 - i386 - Released Updates Finding update packages Downloading needed headers Resolving dependencies .....identical dependency loop exceeded package wxGTK-devel needs wxGTK = 0:2.4.2-0.fdr.1.1 (not provided)
trainee
Tux says hello.
Oh, man, I need to take a long break. I'm making mistakes like that a lot lately.Originally posted by CornedBee
quote: Besides, it don't work on the good ol' penguin.
quote: It neither achieves platform-independence
@linuxdude. Try installing the package it tells you it needs. You need to install wxGTK before installing the devel package. If it's not on your distro's disk, donwload it, untar it and make it.
Last edited by -=SoKrA=-; 02-26-2004 at 01:38 PM.
SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
I say what I say, I mean what I mean.
IDE: emacs + make + gcc and proud of it.
Seems the one you installed is too old.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law