Results 1 to 4 of 4

Thread: I want to do some simple c++ programs, need help

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Beans
    46
    Distro
    Ubuntu 8.04 Hardy Heron

    I want to do some simple c++ programs, need help

    - can i use gcc to make c++ programs?? how??
    - thanks

  2. #2
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Beans
    1,393
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: I want to do some simple c++ programs, need help

    Use g++.

    Install the build-essential package via Synaptic, or "sudo apt-get install build-essential" from a terminal.

  3. #3
    Join Date
    Apr 2008
    Beans
    46
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: I want to do some simple c++ programs, need help

    Quote Originally Posted by Monicker View Post
    Use g++.

    Install the build-essential package via Synaptic, or "sudo apt-get install build-essential" from a terminal.
    - i have installed build-essential, how can i go to the c++ compiler??

  4. #4
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Beans
    1,393
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: I want to do some simple c++ programs, need help

    Quote Originally Posted by malaya View Post
    - i have installed build-essential, how can i go to the c++ compiler??
    By using g++, as I mentioned.


    From a terminal session:

    Code:
    g++ --help

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
  •