#include <iostream>
int main()
{
std::cout << "Hello, World!\n";
return 0;
}
Type: Posts; User: goldmonkey
#include <iostream>
int main()
{
std::cout << "Hello, World!\n";
return 0;
}
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...
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()':
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()
{