LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Linux Programming vs. Windows (https://www.linuxquestions.org/questions/programming-9/linux-programming-vs-windows-108794/)

LinuxBlackBox 10-26-2003 04:11 PM

Linux Programming vs. Windows
 
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?

Thank you in advance,
LBB

acid_kewpie 10-26-2003 05:39 PM

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.

Stack 10-26-2003 05:52 PM

Anjuta is very very nice :)

I would just like to comment on how MFC is garbage ;)

What can i say when i do a GUI i want to control everything winapi for life! Anyways i am a big fan of QT.

LinuxBlackBox 10-26-2003 06:51 PM

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 :D

Choices?! woah.. open source rocks!
;)
-LBB

LinuxBlackBox 10-27-2003 04:52 PM

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?

-LBB

worldmagic 10-28-2003 05:10 AM

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).

LinuxBlackBox 10-28-2003 06:45 AM

I was under the impression that KDevelop required KDE, I'm using GNOME at this point. I'll look into QT Design, I hadnt heard of that before today.

Thank you

worldmagic 10-28-2003 09:03 AM

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.


All times are GMT -5. The time now is 11:33 AM.