LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-26-2003, 04:11 PM   #1
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Rep: Reputation: 30
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
 
Old 10-26-2003, 05:39 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 10-26-2003, 05:52 PM   #3
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
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.
 
Old 10-26-2003, 06:51 PM   #4
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Original Poster
Rep: Reputation: 30
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

Choices?! woah.. open source rocks!

-LBB
 
Old 10-27-2003, 04:52 PM   #5
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Original Poster
Rep: Reputation: 30
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
 
Old 10-28-2003, 05:10 AM   #6
worldmagic
Member
 
Registered: Oct 2003
Location: Europe/Sweden
Distribution: RedHat
Posts: 78

Rep: Reputation: 15
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).
 
Old 10-28-2003, 06:45 AM   #7
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Original Poster
Rep: Reputation: 30
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
 
Old 10-28-2003, 09:03 AM   #8
worldmagic
Member
 
Registered: Oct 2003
Location: Europe/Sweden
Distribution: RedHat
Posts: 78

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help!! Networking Programming in C (Windows/Linux) vibhory2j Programming 11 02-24-2007 05:46 AM
win32 windows programming , How in linux ? IDoIt Programming 10 05-26-2005 07:48 AM
Learn linux programming under windows beep_beep Linux - Software 5 05-26-2005 07:12 AM
Systems Programming - Linux vs Windows dipperdan Programming 8 09-30-2004 08:18 AM
Exp. Windows/Linux-Script Programmer - Need Linux Programming Mentor! ruttiger Linux - Newbie 2 10-28-2001 11:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration