Thread: I want to start programming on linux

  1. #1
    Registered User MIH1406's Avatar
    Join Date
    Apr 2009

    I want to start programming on linux


    I have read learn c++ in 21 days, it is good for me, but I want to start reading thinking in c++ and want to program for Linux, is their a Visual C++ alternative?

    - Do I have to program for GTK+ or GTKmm, I am C++ programmer.
    - What are the packages to start programming in Linux with gtkmm and its docs.
    - Anything else I need, please suggest with details or at lease a link for starting to program in Linux.

    I appreciate your help
    Thanks in advanced

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    For STANDARD C++ (which is hopefully what "Teach yourself C++ in 21 days" would cover), you do not need graphical features of the OS. The code in the book (again hopefully) should work just fine using g++ (gcc's C++ compiler), which should be part of your Linux distribution [not that it HAS to be, but I'd expect it to be part of your Linux distribution].

    You need to find an editor that you like. I use (x)emacs, but there's vi and other variants too.

    There is also Eclipse and Code::Blocks that are more integrated solutions (so you press a button or two, and it starts the debugger directly within the application you use to edit the files. This would correspond fairly well to Visual Studio from Microsoft.

    Emacs and vi (or some forms thereof) is almost certainly on the Linux CD/DVD. I'm pretty sure Eclipse IS NOT, whilst Code::Blocks could be. But they are both definitely available on the net for no fee.

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    pwns nooblars
    Join Date
    Oct 2005
    Portland, Or
    Code::Blocks, I used that for quite a while for my C++ programming, mainly on windows but it is the same codebase and libraries (wxWidgets based) and I would recommend that if you are looking for the full IDE experience. vi(m) or emacs if you are looking for a simpler solution (at least for smaller applications)

  4. #4
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    If you are going to do C++ on Linux, most folks around my workplace (that write C++ -- NOT me, I use vim) use the ide provided by KDE (which is also available on most distros).


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux Version reccomendation
    By Pobega in forum A Brief History of
    Replies: 28
    Last Post: 10-05-2006, 06:48 PM
  2. Why Linux, for the average user?
    By Hunter2 in forum A Brief History of
    Replies: 32
    Last Post: 07-07-2006, 02:36 PM
  3. Replies: 3
    Last Post: 10-29-2003, 09:39 AM
  4. linux and windows lookup host processes
    By Lynux-Penguin in forum Tech Board
    Replies: 0
    Last Post: 08-31-2003, 11:54 PM
  5. linux vs linux?
    By Dreamerv3 in forum Linux Programming
    Replies: 5
    Last Post: 01-22-2002, 09:39 AM

Tags for this Thread