ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am somewhat comfortable with Windows programming; basic console C++ applications, MFC, etc. Now I would like to begin programming under linux, but I really know nothing about it. So I have a few questions:
a) What is the best graphical programming suite for RedHat?
b) Will I need to learn different libraries, or is the same C++ I use for windows console apps enough for basic linux apps?
c)What is involved in making a program with a GUI? I am assuming it is not as simple as MFC with Window$, but how hard is it really?
1) you mean an IDE? i use Anjuta (Gnome based), but many people will still swear by EMACS....
2) not necessarily... ANSI standards are firmly in place, so unless you've been used to using non-ANSI windows routines you'll be fine. lower level stuff is often a little different though.
3) doddle... choose your own toolkit library.. OMG you get a choice!!! how cool is that?! gtk.org has always had my vote.
Thanks for the tips acid and stack
I am downloading Anjuta right now, looks like the best option for me. I never really did get emacs, but I did end up spending about an hour today talking to the Emacs Pshycaitrist, that was Halarious. Anyone who hast tried it should do so right now.
My programing knowledge consists of calling a few libraries (they are called libraries, right? ) 'include iostream.h'. Starting 'int Main()', and then basic functions with 'cin >>' and 'cout <<'. I just began programming with windows this summer, so I'm not incredibly advanced. Although I must brag a bit: I did manage to get directx started and display a sprite on a background at fullscreen
I got Anjuta installed and running, and I am starting a new C++ console project. Except it keeps failing. I get the following message:
"checking whether the C++ compiler (c++ ) works... configure: error: installation or configuration problem: C++ compiler cannot create executables
no
Auto generation completed.............................Unsucessful"
I have GCC, and G++, and makeconf, and everything else it said it needed. What else am I missing?
You should checkout KDevelop also, and QT Design. Easy to make GUI stuff. Only these two programs doesnt realy do that great together, so read the manual. The secret is that you have to subclass the class thats created within QT Design.. You will recognize KDevelop, it looks alot like any other IDE (on windows).
mm, Yes KDevelop is using KDE, and QT Design is using the QT toolkit.. for working with Gnome, you could checkout Glade, its a GUI builder much lite QT Design... Havent used it alot tho.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.