Simple rules: Say "Hello World!" in a natural or computer language and tell us what language you're speaking.
Language: ANSI-C
#include <stdio.h>
int main( char **argv, int argc )
{printf( "Hello World!" );
return 0;}
Simple rules: Say "Hello World!" in a natural or computer language and tell us what language you're speaking.
Language: ANSI-C
#include <stdio.h>
int main( char **argv, int argc )
{printf( "Hello World!" );
return 0;}
document.write('Hello, World')
Javascript![]()
Left.
<?php
echo "Hello World!";
?>
That's php.
@alexandgrunts, you don't know js too well do you?
Try this:
<script type="text/javascript">
document.write('Hello, World');
</script>
Language - American English (natural languages too as users here span the globe)
And a "Hello World!" has traditionally been one of the smaller or simpler programs that is self-contained (that will interpret or compile without errors). But if you want to save time and just write the print statement without all the other stuff ... it's all good ... nothing wrong with being lazy or efficient (point-of-view).Hello World!
שלום העולם
Hebrew
Forum rules : in the English section, English only.
http://forums.x10hosting.com/news-an...gulations.html
Sorry ichwar, you are now BANNED! ;)
10 PRINT "Hello, World!"
20 END
Language : Basic. As mastered by me on the Sinclair ZX80 when that came out.
No, I can't be that old. It must have been in a former life!![]()
Last edited by zen-r; 06-22-2009 at 09:10 AM.
For great installation & servicing of Audio Visual systems & equipmentinc. LCD & Plasma Screens, Loudspeakers, Projectors, Aerials & Satellite Dishes, Lighting effects & controllers, Hifi, Amplifiers, Surround Sound, Home Cinema & Video etc-: based around Plymouth, Devon, or anywhere in the southwest of the UK, visit :-
Tough crowd!
Spanish, gringo:
I think the Basic language scared me from programming for about 10 years. The Trash80 computers didn't help either (that's Tandy if I recall correctly). I think I avoided programming for almost 10 years before learning a little C/C++/Pascal. Late start!Hola, mundo!
Hello, World
English
BTW ichwar I omitted the HTML part deliberately.
Left.
Last edited by zen-r; 06-23-2009 at 01:06 PM.
For great installation & servicing of Audio Visual systems & equipmentinc. LCD & Plasma Screens, Loudspeakers, Projectors, Aerials & Satellite Dishes, Lighting effects & controllers, Hifi, Amplifiers, Surround Sound, Home Cinema & Video etc-: based around Plymouth, Devon, or anywhere in the southwest of the UK, visit :-