Results 1 to 6 of 6

Thread: c programming

  1. #1
    Join Date
    Feb 2011
    Location
    kolkata
    Beans
    63
    Distro
    Ubuntu 11.04 Natty Narwhal

    c programming

    i m a computer student and want to know if there is any application in ubuntu 10.10 in which i can write codes in c and c++ and run them on my laptop.
    if so, what to do.

  2. #2
    Join Date
    Feb 2011
    Beans
    7

    Re: c programming

    I use vim and then compile it in terminal like
    Code:
    gcc -c -o myfile.o myfile.c

  3. #3
    Join Date
    Sep 2005
    Beans
    1,596
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: c programming

    Quote Originally Posted by piymon View Post
    i m a computer student and want to know if there is any application in ubuntu 10.10 in which i can write codes in c and c++ and run them on my laptop.
    if so, what to do.
    Lots.

    I personally like Eclipse the the CDT Plugin, so that I can write C++ code. Eclipse is in the Ubuntu Software Center, along with gcc, g++ (for C and C++ respectively), or you can do build-essential, which gets you all the essentials for compiling software.

    You can use gedit and compile with the terminal via:
    gcc -o myprog main.c
    g++ -o myprog main.cpp

    Another good editor is Code::Blocks, haven't used that one much, but others say its amazing.
    MBA M1 - M1 8GB 256GB - macOS Monterey
    MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
    Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11

  4. #4
    Join Date
    Jan 2011
    Location
    Armenia
    Beans
    25
    Distro
    Ubuntu 11.04 Natty Narwhal

    CDTs

    You can use CDTs for example Eclipse or NetBeans. There is a lot of them.

  5. #5
    Join Date
    Feb 2011
    Location
    kolkata
    Beans
    63
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: CDTs

    thanks for that guys. i will install eclipse and get back to u for further help if needed on this thread

  6. #6
    Join Date
    Oct 2008
    Location
    Maryland, USA
    Beans
    300
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: c programming

    Check the stickies in the Programming Talk sub-forum for more help getting started with programming. There have also been many threads discussing IDEs.
    OpenSUSE: Dell Inspiron 8600 and Gateway GT5678
    MacOS X 10.5.8 PowerBook G4 12"
    Linux user #: 501795

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
  •