Go Back   Linux Forums by TotalPenguin! Get linux Help! > GUI Linux > Linux Programming and Scripting

Linux Programming and Scripting Discussion for Linux Programming and scripting (including Perl, PHP, C, C++, and other languages)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-22-2008, 01:34 PM
Senior Member
 
Join Date: Jan 2007
Posts: 140
Wanch is on a distinguished road
Default Learning Programming in Linux

How did you learn how to program in Linux? I'm interested in making GUI applications but I do not know where to start. I know basic C++ from school several years ago.
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-22-2008, 02:03 PM
Super Moderator
 
Join Date: Dec 2007
Location: Denmark
Posts: 273
v0id is on a distinguished road
Send a message via MSN to v0id
Default

Programming in Linux is not much different than programming on other platforms when you're on a high-level, which you are with C++. The language itself will work exactly like on any other platforms (if your compiler is standard-compatible), but each platform introduces some extra libraries (note: these libraries are not standard-C++-libraries) and it's here the differences are found. You'll have to find out what you want to do, then which library to use, and then use the documentation of the library. Most open-source libraries have tons of information and documentation available. If you want to get started with some advanced Linux programming, I've found a link from my bookmarks which you may like. You can get the whole book for free.

You've two primary options when you're going to choose a GUI toolkit (library for GUI-programming) You can either choose to use the interface your desktop environment/window manager offers you (if it offers one), if you want to program for a single desktop environment only; or choose a toolkit which offers you functionality for multiple environments, without you'll have to think about which environment you're programming for. You can find many toolkits around on the internet, but the two I've liked the most is the toolkits wxWidgets, and GTK+. Both has language bindings for multiple language, so it doesn't require you to use C++.
Reply With Quote
  #3 (permalink)  
Old 04-26-2008, 01:19 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 394
Tor is on a distinguished road
Default

Nice link v0id! I prefer GTK+ applications over wxWidgets. I didn't realize that kde and gnome offered two different GUI sets though ( I always though you could use both on either).
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:55 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.