Search:

Type: Posts; User: pmoscatt

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    3,553

    G'Day Adrian, Yea, you could be right there -...

    G'Day Adrian,

    Yea, you could be right there - yes I did try the code but kept on getting the same results until I used 'puts'.

    I am using Linux (Mandrake 8.1) and the compiler I'm using is...
  2. Replies
    18
    Views
    3,553

    I managed to get it going but instead of using: ...

    I managed to get it going but instead of using:

    cout << "Hello World";

    I had to use:

    puts("Hello World");

    before it would compile - why is this so ?
  3. Replies
    18
    Views
    3,553

    G'Day SilentStrike, Yea...... sometimes I...

    G'Day SilentStrike,

    Yea...... sometimes I wonder :-)

    But is really ment to be "Hello"

    Pete
  4. Replies
    18
    Views
    3,553

    G'Day Prelube, So what does 'namespace'...

    G'Day Prelube,

    So what does 'namespace' actually do ??

    Pete
  5. Replies
    18
    Views
    3,553

    Can't Compile a Simple Program

    I am new to C++ and am tryind to compile a simple program under Linux. The code is in the form of:

    #include <stdio.h>
    int main()
    {
    cout << "Hell World";
    return 0;
    }
Results 1 to 5 of 5