Hey /g/ays
Write a simple Hello World program in your favorite programming language and show it to us.
I'll start with Haskellmain :: IO ()
main = putStrLn "Hello World!"
>>51946309
echo "hello world!"
10 PRINT "Hello World!"
>Haskell
>>51946309
why?
>>51946324
You meanecho "hello world!", right?
>>51946335
You mean10 PRINT "Hello World!", right?
>>51946309
write(1, "hello world\n", 12);
>>51946338
>hating on Haskell
bet you majored in CS to write games in java
fag
std::cout << "hello world" << std::endl;
hello world
>>51946342
Uhmmm, no, I meant 10 PRINT "Hello World!" as posted.
Stop being a dickhead, dickhead.
#include <iostream>
int main (void)
{
char ch1 = 72;
char ch2 = 69;
char ch3 = 76;
char ch4 = 79;
char ch5 = 87;
char ch6 = 82;
char ch7 = 68;
std::cout << ch1 << ch2 << ch3 << ch3 << ch4 <<" " << ch5 << ch4 << ch6 << ch7 ;
return (0);
}
>>51946309
What's the point of this shitty thread OP?
>>51946363
You wont be calling mw a fag when i invent the next Minecraft
>>51946385
WHY NO USE SPACE ASCII VALUE BITCH
>>51946395
To make you ask this shitty question
#include<stdio.h>
main(){printf("Hello world!\n");}
>>51946309
Shitpost. go die somewhere
>>51946309
<h1>Hello world</h1>
>>51946397
this is you
>>51946399
to enrage you, and only you
>>51946437
>programming language
get out go back to le reddit
print()
print(" hello, world.")
print()
input(" press ENTER to say goodbye")
>>51946436
no u
>>51946437
kek
>>51946439
I've managed to get myself a copy of Minecraft, i just need to work on putting it in a pencil case
>>51946437
underrated post
>>51946454@echo off
cls
echo.
echo hello, world.
echo.
set /p a=
Hello World Souffle.
Ingredients.
72 g haricot beans
101 eggs
108 g lard
111 cups oil
32 zucchinis
119 ml water
114 g red salmon
100 g dijon mustard
33 potatoes
Method.
Put potatoes into the mixing bowl.
Put dijon mustard into the mixing bowl.
Put lard into the mixing bowl.
Put red salmon into the mixing bowl.
Put oil into the mixing bowl.
Put water into the mixing bowl.
Put zucchinis into the mixing bowl.
Put oil into the mixing bowl.
Put lard into the mixing bowl.
Put lard into the mixing bowl.
Put eggs into the mixing bowl.
Put haricot beans into the mixing bowl.
Liquefy contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.
Serves 1.
no one has done assembly or binary yet so sad
>>51946526
in order to write 2 words we must first invent the universe
>>51946562
>>51946526
its not that hard fags.MODEL Tiny
.CONST
HW DB "Hello World!$"
.CODE
.org 100h
start:
MOV DX, OFFSET DGROUP:HW
MOV AH, 09H
INT 21H
ret
end start
>>51946562
Lol
>>51946309package main
import "fmt"
func main() {
fmt.Println("hello, world!")
}
http://pastebin.com/raw/vyqCpgcM
>>51946309h2::before {
content: "Hello World!";
}
#!/bin/bash
for hex in 48 65 6c 6c 6f 20 57 6f 72 6c 64 21 0a; do echo -en "\u$hex"; done
>>51946309{-# LANGUAGE OverloadedStrings #-}
import qualified Data.Text as T
main :: IO ()
main = T.putStrLn "Hello World!"
>>51946848
Data.Text.IO*
>>51946309
echo "hello world"
PHPHello World!
It doesn't get simpler than this!
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
h...h.how do you write code in a white box? sorry for being a newfag
>>51946915your code here
>>51946309<html>
<h1>Hello World</h1>
</html>
print_string "Hello World!";
display "hello world"
i'm writing my own language, this is the hello world. get on my level nerds
Console.writeline ("Hello world!")
Console.readline
End
>>51946972
its bad
>>51946972
So does display write to stdout? What if I want to write to stderr?
echo "hello world" | cat