"Hello World!"

E.K.x

Prowler
Joined
May 15, 2007
Posts
1,355
Location
United Kingdom
Society
Hunters Unlimited
Avatar Name
Pudding EKx Leash
As a great script once said;

"Hello World!"

Well, I'm recreating that, maybe not as astounding.. I first off introduce myself, Pudding EKx Leash.

I am new to Entropia but have been reading over these forums and some blogs around the place, so i decided id give Entropia A try.

Easy to say, i like, and looks like im setting up camp for awhile. I look forward to meeting everyone here and ingame.

I live in New Zealand, meaning youll probably see me ingame around 4-11 calypso time.

"Possibilitys to profit are everywhere", well maybe so Mr Man in the Ad terminals, but Im yet to find one XD. But still having loads of fun!

Once again "Hello World!"
 
Actually Hello World is not a great script, but the first program that is done while learning programming, just to show how "easy" it is to get something displayed :scratch2:

Anyways, hi and welcome. Take a second to read the forum rules (since you appernetly missplaced your thread) and read some of what can bee found here.

Welcome, and good luck in EU :)
 
Actually 'Hello World' is used as an example for most scripting languages as well as programming languages. So his comment is appropriate if he has learned VBscript, Perl or another comparable scripting language ;)


But Welcome to Entropia!
 
And the World says back, in a very loud deep voice ...

"Hello E.K.x"
 
Actually, the first known instance of the usage of the words "hello" and "world" together in computer literature occurred in Kernighan's 1972 Tutorial Introduction to the Language B.

http://en.wikipedia.org/wiki/Hello_World

:wise:

:lam:

Welcome to Entropia EKx, remember knowledge is power here!

;)
 
Nice Grab on the quote history. Didn't know that was the first time. (Now if i can only get on to Jeopardy and have them ask me that i will know)

I was just correcting RidingDirty for saying that it wasn't a script, when in fact it is the first example for almost everything that uses code.
 
High School/Jr.High
10 PRINT "HELLO WORLD"
20 END


First year in College
program Hello(input, output)
begin
writeln('Hello World')
end.


Senior year in College
(defun hello
(print
(cons 'Hello (list 'World))))


New professional
#include <stdio.h>

void main(void)
{
char *message[] = {"Hello ", "World"};
int i;
for(i = 0; i < 2; ++i)
printf("%s", message);
printf("\n");
}


Seasoned professional
#include <iostream.h>
#include <string.h>
class string
{
private:
int size;
char *ptr;
public:
string() : size(0), ptr(new char('\0')) {}
string(const string &s) : size(s.size)
{
ptr = new char[size + 1];
strcpy(ptr, s.ptr);
}
~string()
{
delete [] ptr;
}
friend ostream &operator <<(ostream &, const string &);
string &operator=(const char *);
};

ostream &operator<<(ostream &stream, const string &s)
{
return(stream << s.ptr);
}
string &string::eek:perator=(const char *chrs)
{
if (this != &chrs)
{
delete [] ptr;
size = strlen(chrs);
ptr = new char[size + 1];
strcpy(ptr, chrs);
}
return(*this);
}
int main()
{
string str;
str = "Hello World";
cout << str << endl;
return(0);
}


System Administrator
#include <stdio.h>
#include <stdlib.h>
main()
{
char *tmp;
int i=0;
/* on y va bourin */
tmp=(char *)malloc(1024*sizeof(char));
while (tmp="Hello Wolrd"[i++]);
/* Ooopps y'a une infusion ! */
i=(int)tmp[8];
tmp[8]=tmp[9];
tmp[9]=(char)i;
printf("%s\n",tmp);
}

Apprentice Hacker
#!/usr/local/bin/perl
$msg="Hello, world.\n";
if ($#ARGV >= 0) {
while(defined($arg=shift(@ARGV))) {
$outfilename = $arg;
open(FILE, ">" . $outfilename) || die "Can't write $arg: $!\n";
print (FILE $msg);
close(FILE) || die "Can't close $arg: $!\n";
}
} else {
print ($msg);
}
1;

Experienced Hacker
#include <stdio.h>
#include <string.h>
#define S "Hello, World\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}


Seasoned Hacker
% cc -o a.out ~/src/misc/hw/hw.c
% a.out
Hello, world.


Guru Hacker
% cat
Hello, world.

New Manager (do you remember?)
10 PRINT "HELLO WORLD"
20 END


Middle Manager
mail -s "Hello, world." bob@b12
Bob, could you please write me a program that prints "Hello, world."?
I need it by tomorrow.
^D


Senior Manager
% zmail jim
I need a "Hello, world." program by this afternoon.

Chief Executive
% letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout

Research Scientist
PROGRAM HELLO
PRINT *, 'Hello World'
END

Older research Scientist
WRITE (6, 100)
100 FORMAT (1H ,11HHELLO WORLD)
CALL EXIT
END




Welcome E.k.x :)
 
Pepper said:
High School/Jr.High
10 PRINT "HELLO WORLD"
20 END

.....

Older research Scientist
WRITE (6, 100)
100 FORMAT (1H ,11HHELLO WORLD)
CALL EXIT
END




Welcome E.k.x

ROFL :D that made me laugh really hard!


Welcome Ekx :)
 
Nice Grab on the quote history. Didn't know that was the first time. (Now if i can only get on to Jeopardy and have them ask me that i will know)

I was just correcting RidingDirty for saying that it wasn't a script, when in fact it is the first example for almost everything that uses code.

Actually I said that it wasn't a Great Script, which it isn't. Also, "Hello World" is the name of the actual program, after beeing compiled while the actual script usually is named with projectnames. It is up to the user if he wants to name his script "Tutorial1.1", "Hello World" or "Project 12".

The scripts I used to creat the "Hello World"-programs so far has been named "Tut01" , "Index", "Project1", "01"," index", "Prog" and a few others that I cant remember for the moment :scratch2:

;)

Edit: Just read this:
if he has learned VBscript, Perl or another comparable scripting language

Well, in that case maybee he is right ;)
 
Guru Hacker
% cat
Hello, world.

Great stuff, reminds me of my favourite command on POSIX systems:

# cat flap
cat: cannot open flap

Welcome Ekx
 
Tehehe.

<?PHP

$line1 = 'world!';
$line2 = 'hello';

Echo '$line2 $line1';

?>

Yeah, "Hello World!" Is a great thing, as it means someones learning and having fun!

Thanks for your ultra warm welcome, see you ingame...errr.inworld!
 
Welcome and HELLO! :D Be sure to pop down to Club'3G' on a Friday/Saturday free, fun, socialising! See you ingame soon ;)

Jamhot
 
hi and welcome, nice to see kiwis join us..

Love ur country btw
hope to go there one day again..
 
Welcome and HELLO! :D Be sure to pop down to Club'3G' on a Friday/Saturday free, fun, socialising! See you ingame soon ;)

Jamhot

Yeah im plannning on coming down to the gig :)
 
Back
Top