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...
Type: Posts; User: pmoscatt
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...
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 ?
G'Day SilentStrike,
Yea...... sometimes I wonder :-)
But is really ment to be "Hello"
Pete
G'Day Prelube,
So what does 'namespace' actually do ??
Pete
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;
}