+ Reply to Thread
Results 1 to 3 of 3

Thread: Learning Programming in Linux

  1. #1
    Wanch
    Guest

    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.

  2. #2
    Retired v0id is a glorious beacon of light v0id is a glorious beacon of light v0id is a glorious beacon of light v0id is a glorious beacon of light v0id is a glorious beacon of light v0id is a glorious beacon of light
    Join Date
    Apr 2007
    Posts
    2,942
    Blog Entries
    3
    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++.

  3. #3
    Tor
    Tor is offline
    Programming Expert Tor is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    488
    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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)