Search:

Type: Posts; User: goldmonkey

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    4,403

    #include int main() { ...

    #include <iostream>


    int main()
    {
    std::cout << "Hello, World!\n";
    return 0;
    }
  2. Replies
    7
    Views
    4,403

    Jaguar well i think i've got further now but...

    Jaguar

    well i think i've got further now but I'm not sure what to do next.

    here is whay I got now after typing in
    : g++ hello.cpp

    hello.cpp:8:2: warning: no newline at end of file

    what...
  3. Replies
    7
    Views
    4,403

    thanks for the almost immediate reply. here...

    thanks for the almost immediate reply.

    here is whatI got when I changed the:
    #inculde <iostream.h>

    to:

    #include<iostream>

    hello.cpp: In function `int main()':
  4. Replies
    7
    Views
    4,403

    C++ newbie / linux not so newbie question

    Hey fellas and fella-ettes.

    I am trying to get started with C++ and I have a problem right off the bat. Here is my 1st C++ example:


    #include <iostream.h>


    int main()
    {
Results 1 to 4 of 4