Results 1 to 3 of 3

Thread: compiling c++ files

  1. #1
    Join Date
    Apr 2008
    Location
    Placelandia
    Beans
    91
    Distro
    Ubuntu 8.04 Hardy Heron

    compiling c++ files

    im just starting c++ programming, i run ubuntu, and i took a tutorial on cplusplus.com, and wrote all this in my text editor

    Code:
    #include <iostream>
    using namespace std;
    
    int main ()
    {
        cout << "Hello World";
        return 0;
    }
    anyway, i saved it as helloworld.cc, andi think thats all gonna work, but how do i compile it? i installed build essential, now what?
    Last edited by rtoot3; October 17th, 2008 at 03:47 AM.
    Hey! You just found my signature!

  2. #2
    Join Date
    Apr 2008
    Location
    Placelandia
    Beans
    91
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: compiling c++ files

    nevermind compiling, figured that out, now how do i run it?
    Hey! You just found my signature!

  3. #3
    WW is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Oct 2004
    Beans
    1,532

    Re: compiling c++ files

    Check out the C++ section of this thread in the Programming Talk section: FAQ: Compiling your first C or C++ programs.

Tags for this Thread

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
  •