LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2006, 10:11 AM   #1
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Rep: Reputation: 15
Starting to C++ on a Linux


What a bold step. Got Suse 10.0 to install and at 1600 resolution it's
stunning. Suse 7.0 wanted to only use 640, 16 colours and crowd out my OK buttons!!!--yech!

Now, can you suggest an opensource database product? And C++ SDI. I'm spoiled with MFC and need to get Linux saavy quick.

Does the message system in C++ and Windows still work in Linux?
Is there something similar to MSDN for Linux programmers?

 
Old 01-29-2006, 11:34 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by snoozing
What a bold step. Got Suse 10.0 to install and at 1600 resolution it's
stunning. Suse 7.0 wanted to only use 640, 16 colours and crowd out my OK buttons!!!--yech!

Now, can you suggest an opensource database product? And C++ SDI. I'm spoiled with MFC and need to get Linux saavy quick.

Does the message system in C++ and Windows still work in Linux?
Is there something similar to MSDN for Linux programmers?

You can configure any distro for a variety of screen resolutions.

Database: MySQL

C++ SDI---what's that?

Programming support? In about 1 bazillion places, including here.

One of the biggest differences in Linux and OpenSource is that help is basically all over the place--sometimes organized by often not. The good news is that Google finds it pretty quickly.
 
Old 01-30-2006, 03:58 AM   #3
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
SDI--Software Development Interface
or
SDK--Software Development Kit
 
Old 01-30-2006, 04:06 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
If you're looking for an interface like Visual C++ (IDE), then the Eclipse program would be a good start.
To what "message system" are you referring?
 
Old 01-30-2006, 04:57 AM   #5
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
I've programmed with Windows in C++ and there is the inherent messaging system where pressing a button sends a message and a function responds to it.
I presume it's the same in Linux.
 
Old 01-30-2006, 06:26 AM   #6
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
That indeed seems to be pretty much standard C++. As long as you don't need messages like Windows dialog boxes and stuff, I suppose it'll work fine on Linux.

However, the most important thing is that your code may not use any Windows libraries. If it does, it can't run on Linux (except perhaps via Wine).
So, I propose that you start off by taking a look at your #include's and check to see if any of the libs are Windows-only.
 
Old 01-30-2006, 07:05 AM   #7
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
First to avoid misconceptions: As far as I know SDI means 'Single Document Interface' and is a document-style of MFC. I guess what you meant was an API (Application Programming Interface). API's allow you to communicate with your OS, and yes, of course Linux has also an API. But this is not the same as the Windows API. The "massaging system", you mentioned, is part of the win32-API and is wrapped under the MFC (i guess you used this and not the API itself?). There are several libraries out there that act similar like MFC and allow you to build GUIs, multi-threads and Socket-Apps similar like you did under Windows, but they are by far not the same! The three most common such libraries are:
- GTK+
- QT (this is not under GPL!)
- wxWidgets

As for IDEs, there are several (free ones) out there. Take a look here to get started and then try around:
http://linuxmafia.com/faq/Devtools/ides.html

Also have a look at:
www.codeblocks.org
which I cannot recommend high enough!
 
Old 01-30-2006, 09:48 PM   #8
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
Very good Flesym.

I'll sink my teeth into those right away.
 
Old 01-31-2006, 12:07 AM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Flesym
- QT (this is not under GPL!)
I beg to differ... Qt comes with a dual license, it's NOT free
for Windows, but for Linux FOSS development it's GPLed.

And as far as I'm concerned it rocks.


Cheers,
Tink
 
Old 01-31-2006, 04:31 AM   #10
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Flesym has a good list of C/C++ IDEs there, but here the one which i love the most.

Anjuta
 
  


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
Linux Not starting meetmefar Linux - Newbie 10 12-02-2005 09:31 PM
starting out linux betapops Linux - Newbie 13 08-03-2005 08:45 PM
just starting with linux millercpsu Linux - Newbie 20 02-10-2004 07:06 AM
starting linux gorf18 Linux - Newbie 3 10-09-2003 02:18 PM
starting linux aizkorri Programming 1 03-26-2002 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 PM.

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