Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sheabunge
Created January 26, 2014 06:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sheabunge/8629476 to your computer and use it in GitHub Desktop.
Save sheabunge/8629476 to your computer and use it in GitHub Desktop.
"Hello World" in different programming languages
MsgBox Hello World!
@echo Hello World!
@pause
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!" << endl;
return 0;
}
body:before{
content: "Hello World!";
}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
document.write("Hello World!");
alert("Hello World!");
thread main
TextOut(0, LCD_LINE1, 'Hello World!')
wait SEC_10
endt
task main() {
TextOut(0, LCD_LINE1, "Hello World!");
Wait(1000);
}
<?php
echo "Hello World!";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment