Find the answer to your Linux question:
Results 1 to 5 of 5
hello people! i just moved from Fedora to Ubuntoo... so far is great! my problem is that in Fedora i was able to do C++ programming... i could just open ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie albertlv's Avatar
    Join Date
    May 2006
    Location
    Orlando, FL
    Posts
    113

    Exclamation c++ programming


    hello people! i just moved from Fedora to Ubuntoo... so far is great! my problem is that in Fedora i was able to do C++ programming... i could just open the text editor, write my program and save it as .cpp. Then i could just go to terminal and write g++ name_of_file.cpp -o output and then ./output and the program would execute...

    the thing is that now with ubuntoo i write g++ and all that crap and i get a bash: g++: command not found error...

    can anyone help me?? anybody knows of a good compiler or program i can use to program c++??


    THANK YOU!
    albertlv (Registered Linux User: 438937)
    Dell Dimension 4600
    512 MB Ram 80GB Hard Drive
    2.8 GHz Pentium IV Processor
    Running Ubuntu 7.04 - FeistyFawn

  2. #2
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    you can use gcc compiler...install it with synaptic package manager

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    in Ubuntu, GCC is not installed by default.
    insert Ubuntu CD. in Synaptic, click on Settings -- Repositories. now click on Add CDROM button. Close. Reload.

    Select gcc and install it.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Linux User towy71's Avatar
    Join Date
    May 2006
    Location
    West Wales
    Posts
    322
    Type:
    Code:
    sudo apt-get install build-essential
    this will install the necessary stuff
    free/libre/open software for the people by the people
    Linux user #185360

  5. #5
    Just Joined!
    Join Date
    Nov 2006
    Posts
    19
    There's a nice , simple IDE I use for JAVA that also works for C, C++, and other languages called jGrasp available at www.jGrasp.org. (Though I've only used it for JAVA.)

    -Joe G.

Posting Permissions

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