Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Programming in C/++

  1. #1
    Join Date
    May 2011
    Location
    #/bin/sh
    Beans
    193

    Question Programming in C/++

    What should I use to program in C in Linux? I have absolutely no idea where to start! I am an expert in C, but not in what to compile it in Linux?
    Too many cooks don't spoil the broth with Linux, and Ubuntu is the best broth!

    Mint-Ireland, Ubuntu-UK, SUSE-Germany, Fedora-USA, ROSA-From Russia, with Love!

  2. #2
    Join Date
    Sep 2009
    Location
    Canada, Montreal QC
    Beans
    1,809
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Programming in C

    GCC and <insert IDE or editor here>. I recommend emacs...
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.
    Freedom is measured in Stallmans.
    Projects: gEcrit

  3. #3
    Join Date
    May 2010
    Beans
    166

    Re: Programming in C

    How can you manage to be an expert in C, and yet not be able to find a compiler for it?

    http://en.wikipedia.org/wiki/List_of...rs#C_compilers

    The standard is gcc, but clang is up and coming.

    Here is a list of IDEs, if you need them too -

    http://en.wikipedia.org/wiki/Compari...ts#C.2FC.2B.2B

    Google, isn't it wonderful?

  4. #4
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Programming in C

    Quote Originally Posted by Robert Moyse View Post
    What should I use to program in C in Linux? I have absolutely no idea where to start! I am an expert in C, but not in what to compile it in Linux?

    an expert biut dont know how to compile it ?

    gcc and vim

    And a good book by the sounds of it
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  5. #5
    psusi is offline Ubuntu addict and loving it
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Beans
    3,980
    Distro
    Ubuntu Development Release

    Re: Programming in C

    +1 for emacs. It isn't as pretty or easy to figure out as visual studio, but it's a hell of a lot more powerful.

  6. #6
    Join Date
    Aug 2006
    Beans
    278

    Re: Programming in C

    Hes is more than an expert, he is a script himself (look at his location). None of his posts take anything said in the thread in context, even if it sometimes fits the topic.

  7. #7
    Join Date
    Sep 2009
    Location
    Canada, Montreal QC
    Beans
    1,809
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Programming in C

    Quote Originally Posted by Npl View Post
    Hes is more than an expert, he is a script himself (look at his location). None of his posts take anything said in the thread in context, even if it sometimes fits the topic.
    I have this doubt ever since I saw his first post.
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.
    Freedom is measured in Stallmans.
    Projects: gEcrit

  8. #8
    Join Date
    Aug 2006
    Beans
    278

    Re: Programming in C

    Quote Originally Posted by cgroza View Post
    I have this doubt ever since I saw his first post.
    More than just a doubt, if not he can prove me wrong, quote my post and say something thats more fitting than random fortune cookies for IT personal

  9. #9
    Join Date
    May 2011
    Location
    #/bin/sh
    Beans
    193

    Wink Programming in C++

    How do I compile a C++ command line program in Linux? I am an expert in C++, but not in compiling in Linux! This follows up to my 'Programming in C' thread.
    Too many cooks don't spoil the broth with Linux, and Ubuntu is the best broth!

    Mint-Ireland, Ubuntu-UK, SUSE-Germany, Fedora-USA, ROSA-From Russia, with Love!

  10. #10
    Join Date
    Feb 2007
    Location
    St. Louis, MO
    Beans
    4,930
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Programming in C++

    Quote Originally Posted by Robert Moyse View Post
    How do I compile a C++ command line program in Linux? I am an expert in C++, but not in compiling in Linux! This follows up to my 'Programming in C' thread.
    Most of the time you will use the g++ command line compiler. What OS and what IDE did you use for your C++ development?

    Alsp for Ubuntu, make sure you install build-essential.

    Code:
    sudo apt-get install build-essential
    Windows, only good for gaming.

Page 1 of 2 12 LastLast

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
  •