Closed 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. CODECALL Circuit advertisement

     
  3. #2
    v0id is offline Retired
    Join Date
    Apr 2007
    Posts
    2,937
    Blog Entries
    3
    Rep Power
    42
    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++.

  4. #3
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0
    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).

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 08-11-2011, 02:27 PM
  2. Want to start learning programming?
    By Tech in forum General Programming
    Replies: 39
    Last Post: 01-07-2011, 03:11 AM
  3. Learning the linux command line - Bash
    By Coldhearth in forum Linux/Unix General
    Replies: 2
    Last Post: 02-10-2010, 05:39 PM
  4. learning system programming
    By ma06 in forum General Programming
    Replies: 5
    Last Post: 06-02-2009, 08:52 PM
  5. Learning the Programming Language.
    By mysticalone in forum General Programming
    Replies: 3
    Last Post: 01-19-2007, 05:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts