Find the answer to your Linux question:
Results 1 to 5 of 5
hi, I am new to UBUNTU , i want to install c++ in ubuntu can anybody help me how to install c++ how to execute .cpp files...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2

    Installing C++ in linux

    hi,
    I am new to UBUNTU , i want to install c++ in ubuntu
    can anybody help me how to install c++
    how to execute .cpp files

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    # apt-get install g++
    use g++ command to compile .cpp files

    # g++ something.cpp -o something.out
    then execute
    # ./something.out
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    You may want to do
    Code:
    sudo apt-get insall build-essential
    That should install the compilers you need and other libraries you may need.

  4. #4
    Just Joined!
    Join Date
    Mar 2009
    Posts
    4
    Hello
    dose ubuntu have a grafic user intface for c++? something like bloodshed
    gogo

    oh and that command should be: sudo apt-get install build-essential

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Quote Originally Posted by gogo2520 View Post
    Hello
    dose ubuntu have a grafic user intface for c++? something like bloodshed
    gogo

    oh and that command should be: sudo apt-get install build-essential
    That was a typo If you need an IDE, look at something like Geany or Anjuta.

Posting Permissions

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