[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
ITT We write "Hello World" with our eyes closed in
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 238
Thread images: 15
I'll begin
#inclde <iostream>
using namespace std;
int main)_{
cout << "Hellow world!";
reyurn 0;
}
>>
PRINT "Hello world!"
/code]
>>
"Hola mundo"
>>
>>55401562
Пpивeт Mиp!
>>
>>55401562
>ITT: pls /g/, do my homework
>>
puts 'hwllo world'
Turned out easier than expected
>>
>>55401562
"Hallo Wereld"
>>
>>55401687
how is this homework dumbass? Stop being a fucking buzzkill who know of no such thing as thread made for fun.
>>
public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello, World");
}
}
>>
>>55401698

Fuck, that was supposed to be Lisp.
>>
Almost correct...But XCode's brackets are a bit weird when you can't see them
>>
You guys did a lot better than me.
$include <iostream>
using namespace std;

in
cout << "Hellow world!!!!!" << enndl;
t main*(
P{
>>
package main

Import "fmt"

func main() {
fmt.Println("Fuck The World")
}
>>
>>55401562
print("Hello World!")
>>
>>55401714
my trick is to just write the brackets right after main(), press the left arrow key, press enter twice and then press the enter key.
>>
>>55401743
>press the enter key.

I mean, up key for the last one
>>
vi helloworld.py

i

print('Hello, world!')


:wq
chmod +x helloworld.py
>>
>>55401761

whoops forgot

#!/usr/bin/env python3
>>
>>55401761
>vi

Found the actual autist
>>
>>55401960
what's wrong with vi? It's one of the few CLI editors that has syntax highlighting.
>>
nanoi test.pl
@~/uae/vin/pwel

peinr ;hwllo qoels;'
XREL+O
CTRL_X

good god that was bad... and yet I never look at my hands when I type...
>>
>>55401991
Don't feel too bad, for some reason I lose the ability to type in the dark despite not having to look at my hands as I type usually in the daylight
>>
filename: HELLO WORLD
text inside: ls
>>
>>55402015
>>
>>55401562
#include <std.io>
omt ,aom()
P
[rintf("hello wpr;d!");
retirm -
}

pretty good
>>
echo HELL OWLRD
>>
console.log("Hello Word");
>>
Module Hello
Sub Main()
MsgBox("Hello world")
End Sub
End Module
.
>>
#!/bin/bash
echo "Hello world!"
>>
>>55401562
Print "ahello World"
>>
>>55402256
@echo off
echo Hello world!
>>
>>55401689
>Tcl

Hello Grandpa
>>
>>55401562
I will post the captcha es cöosed tpp
print("Hello World"(
>>
#inlude <stdio.h>
int main()
{
nigger_fuckyou();
}
nigger_fuckyou()
{
printf("Kill all niggers\n");
}
muh shitty old fashioned C who needs ANSI C edition
>>
." Helo world"
bye
>>
++++++++|?++[<++>++=>__+>+<>><-]>+>+>-<>-[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.----====--.>>-.>++.


Almost, man, writing that with my eyes close was a real Brainfuck.
>>
>>55401562

main :- write('hello world"), nl . 
>>
console.log('Hello World')
>>
top kek
public class HelloWorld{
public static void main(String[] args)-

System.out.printn()"helloworld";
}
>>
how do I whitespace
>>
>>55401562
OP you should have done fizzbuzz instead.
>>
>>55401562
main = putStrLn "Hello World!"
>>
>>55401960
>>55401989
he probably doesn't even know it's symlinked to vim
>>
7F454C4601010100000000000000000002000300010000008080040834000000C800000000000000340020000200280004000300010000000000000000800408008004089D0000009D000000050000000010000001000000A0000000A0900408A09004080E0000000E0000000600000000100000000000000000000000000000BA0E000000B9A0900408BB01000000B804000000CD80B801000000CD8000000048656C6C6F2C20776F726C64210A002E7368737472746162002E74657874002E6461746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000B000000010000000600000080800408800000001D00000000000000000000001000000000000000110000000100000003000000A0900408A00000000E0000000000000000000000040000000000000001000000030000000000000000000000AE0000001700000000000000000000000100000000000000

eyes closed no googling no hands no screen
>>
Im on mobile here goes:
Priny*heppo worpd;
>>
>>55402496
echo 7F454C4601010100000000000000000002000300010000008080040834000000C800000000000000340020000200280004000300010000000000000000800408008004089D0000009D000000050000000010000001000000A0000000A0900408A09004080E0000000E0000000600000000100000000000000000000000000000BA0E000000B9A0900408BB01000000B804000000CD80B801000000CD8000000048656C6C6F2C20776F726C64210A002E7368737472746162002E74657874002E6461746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000B000000010000000600000080800408800000001D00000000000000000000001000000000000000110000000100000003000000A0900408A00000000E0000000000000000000000040000000000000001000000030000000000000000000000AE0000001700000000000000000000000100000000000000 | xxd -ps -r > hello


Actually outputs pic related, I'm impressed
>>
>>55402534
Yeah but I lied. I just followed this tutorial then copied the executable hexedit:
http://asm.sourceforge.net/intro/hello.html
>>
>>55401562
(format t "~%Hello world!")
>>
>>55402452
>not using do

All the monads are sad for you.
>>
>>55402660
lisp is disgusting.
>>
>>55401562
>using namespace std;

Get out now. You don't belong here.
>>
>>55402797
>one small infraction invalidates ones membership on a subsection of a Cambodian cat-cooking forum
>>
>>55401562
main = putStrLn "Hello, world!"


not particularly difficult considering I can touch type
>>
>>55402827
>uses windows
>>
echo hello world
>>
#include <stdio.h>

int main()
{
printf("Hello, world!\n");
return 0;
}


if you can't type this blindfolded you shouldn't be posting on a technology board
>>
>>55401743
My trick is to just use an editor that isn't a piece of shit
>>
>>55402837
I use Linux thank you
>>
>>55402862
stop being a fuckwit
>>
File: unbelievable.gif (1 MB, 500x281) Image search: [Google]
unbelievable.gif
1 MB, 500x281
>>55402836
>"hello, world"
>","
>>
File: this man can vote.jpg (34 KB, 417x338) Image search: [Google]
this man can vote.jpg
34 KB, 417x338
>>55402695
>using do with a single statement
>>
File: hw.png (7 KB, 1432x1062) Image search: [Google]
hw.png
7 KB, 1432x1062
Starting with my cursor in the reply box I made this, compiled it, took a screenshot, attached the screenshot to the post and posted it with my eyes closed*

* I peeked for the part where I had to click on the window I wanted to take a screenshot of. improvements welcome
>>
>>55402863
>I use linux
>'using namespace std;'

Yeah, alright, lol.
>>
>>55402879
XD
>>
>>55401562
SELECT "hello world";
>>
>>55402534
You are a braver man than I, unless you know/googled asm hex
>>
File: thsdrgser.png (64 KB, 592x379) Image search: [Google]
thsdrgser.png
64 KB, 592x379
>>55402925
>pompous autist who thinks one thing makes one not likely to be a linux user
>>
>>55401562
##!/usr/bin/python
print("Hello World!")

Didn't know I could type that well like that
>>
>>55401562
>Runtime Error Exception: No Class or Module "Call"
>>
>>55402797
>>55402827
Right. Can someone explain to me what's wrong with namespace std?
>>
>>55402797
Explain.
>>
Hello world!
>>
public class Program
{
public static void Main(()
{
System.Console.Writeline("Hello World");
}
}
>>
>>55403224
Impressively close
>>
#inclde <iostream>
using namespace std;
int main)_{
cout << "Hellow world!";
reyurn 0;
}

i copy pasted eyes open
>>
>>55403346
well memed
>>
print("Hello, World")
>>
>>55402015
Fuckin brilliant
>>
>>55402481
Yeah but vim will turn off features / open in vi-cpatability mode if argv[0] == 'vi'
>>
Program hello;

Begin
writeln('Hello World!');
End.
>>
static bool PrintIfDivisible(int i, int mod, string str)
{
if (i % mod != 0)
return false;
Console.Write(str);
return true;
}

static void Main(string[] args)
{
for (int i = 1; i <= 100; i++)
{
if( !PrintIfDivisible(i, 3, "Fizz")
& !PrintIfDivisible(i, 5, "Buzz"))
Console.Write(i);
Console.WriteLine();
}
Console.ReadLine();
}
>>
>>55401562
>if(pubes != itch){
>call.doctor(phone)
>}

git gud faggot.
>>
>close eyes
>"Cortana, print 'hello world!'"
>>
>>55404097
telemetry_main_invoke_trigger:
>>
print $hello worls$


Wrote the code tags with eyes open and am on phone
>>
Python:

ptiny "hello world!"
>>
>>55401562
<>php
$a ="faggot";
echo "$a";
?>
>>
>>55401562
/*
echo "Hello World!";
*/
>>
puts "Hello world"


Fucked up code tags the first time, erased, tried again. typing the [ and ] is difficult with eyes closed.
>>
>>55402797
std::You std::Are std::A std::Fucking std::autist;
>>
inf nain ()
{
Xo zr. WriteLome("Hello Woels");
}

Just typing on a touchscreen is hard enough, let alone with your eyes closed.
>>
>>55401562
.data
faggot: .asciiz "\n OP is a Faggot!\n"

.text
main:
li $v0, 4
la $a0, faggot
syscall
li $v0, 10
syscall
.
>>
>>55401562
<p>
Hello World
</p>
>>
>>55401562
import Html exposing (text)

maijn = text "Hello World"
>>
include <stdio,h>

iny main() {
printf("je;;o world:_l
}

I really need to work on my touch typing.
My hand was misaligned on the second line.
>>
Ruby
puts "gekki wirkd"


wow I fucked up the placement of my fingers...
>>
üeomr "keööp wpeöf"
>>
use feature "say";
say "hello world";
>>
System.out.print("Haii wurldd");
>>
>>55402015
underrated
>>
>>55401562
fn main() {
println!("hllo, worldÈ");
}


It's cleaner in
 beacons
>>
Egg ho hello world

Phone..
>>
>>55402827
>cat-cooking
Have memes gone too far?
>>
package main
import "fmt"
func main()P
fmt.Println("Hellow World")
{
>>
>>55402274
winfag detected
>>
>>55401562
<?pjp
rvjp \jr;;p \eot;f"$
?>
>>
#include <stdio.h>
int main(void) { puts("hello, world"); return 0;}
>>
>>55401562
print("Gello world(

io.read
>>
>>55401562
Hallo Welt
language: German
>>
echo "hello world"
>>
>>55401711
Underrated post.
>>
>>55401562
Cәлeм Әлeм
>>
>>55403172
Nothing. It just makes writing snippets easier, but should be avoided in medium to large projects because it can create conflicts with other libraries.
Only people with aspergers enjoy mindlessly typing std:: over and over again.
>>
>>55401562
#include <stdio.h>

char *hello()
{
char *hello = malloc(10);
strcpy(hello, "Hello");
return hello;
}
int main(void)
{
printf("%s, world!\n", hello());
}

enterprise edition
>>
>>55407573
> Cәлeм Әлeм
Mongoloid.
>>
File: 1436014402534.jpg (40 KB, 640x480) Image search: [Google]
1436014402534.jpg
40 KB, 640x480
>>55404986
>he uses SPIM
>doesn't own real MIPS Iron
200% pleb
>>
how do u guys bring up that white box
>>
itt: shitters with awful muscle memory
>>
/*<p>Hello World</p>*/
>>
package main
import "fmt"
func main)_ {
fmt.Ptinyln)"Hkki wirkd!"+
}
>>
#INCLUDE <IOSTREAM>
USING NAMESPACE STD;
COUT >> "hELLO wwORLD".MAIN*


(
>>
שלום עולם
>>
>>55407640
>not free()'ing the mem after

memleak edition, you mean?
>>
#ubckyde*yustrean)
na
cout("helli world);{
}
>>
>>55401562
Здpaвeй cвят
>>
>>55407826
>memleak
>enterprise
what's the difference??
#include <stdio.h>

int main(char*acter)
{
char *str = "Ifmmp-!Xpsme\"\v";

while (*str != '\0') {
putchar(*str-1);
++str;
}

return /*main char*/acter-1;
}

here is one that is not enterprise nor memleak
>>
Olá mundop
>>
>>55401562
#include <stdio.h>

int main(void)
printf("Hello World");
return 0;
}


I forgot a curly brace. This thread is kinda lame.
>>
>>55401562
#include iostream;
using namespace std;
int main()Đ
>>
>>55401562
(println "Hello, world!")
>>
fn main()
{
println!("hello world");
}
>>
Pding+"hello eorlz+?

From phone
>>
priny/sreubf :gemki wirjs 


ocaml, written on a phone
>>
>>55405285
this just made me gekki :^)
>>
Brainfuck:

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
>>
IT'S SHOWTIME
TALK TO THE HAND "Hello World!"
YOU HAVE BEEN TERMINATED
>>
File: hekko.png (2 KB, 260x35) Image search: [Google]
hekko.png
2 KB, 260x35
>>
`println('hello work')`
>>
printf('nekko world')
>>
>>55404347
>tfw tried this because i thought it would be a cool secret tiny text message
Then looked down on my keyboard and realied
>>
10 PRINT "HELLO WORLD!"

>60+ years later nothing beats BASIC for elegance
>new languages are complex bullshit for no good reasons at all
>inefficiency is just fucking stupid
>bloat is the dire of elegance
>stop using shitty languages, you dumbass motherfuckers
>>
You mean to tell me that you faggots still need to look at the fucking keyboard? Holy shit.
>>
>>55401562
PCide[
echo Hellow World~
>>
>>55401562
>scratch.pubes()
>call.doctor()

This fucking triggers me
>>
print("hello wolr"(;
>>
>>55401562

Deae orubcess cekeseua: Gelli Wirkd!

Today I leaebed abiyt geli wirkd,
U saus "Fekki wirkd!".
Rgar's all about simetging sumoke,

Youre fautgftjj studentm Rwukufrg Soarejke,
>>
>>55410887

How the fuck did I end up with a name what the fuck?
>>
int main()
{
write(1;éHemmoworld!^",12): retir (°;
}


Sheeiit
>>
>>55401562
10 PRINT "HELLO WORLD!"
20 END
>>
>>55401562
"hello world"
>>
main = putStrLn "Hello world"
>>
>>55410897
It's stored in the cookie and/or browser form completion buffer, so we can spot you if you were tripfagging somewhere else and forgot to clear it.
>>
>>55402925
What does
using namespace std
have to do with what operating system you use?
>>
>>55401562
h
>>
>>55409270
You need to add 20 END or you get an infinite loop.
>>
#include <stdio.h>

int main(void)
{
char hi[12] = {'h', 'e', 'k', 'l', 'l', 'o', ',', 'W',[ 'o', 'r', 'l', 'd', '\0'};
for (char* c = hi; *c != '\0'; c++)
orintf("%c",. *c)
return 0;
}/code]
>>
>>55411126
better because i didn't do type signature

main :: IO ()
main = putStrLn "Hello world"
>>
var hello = "hello ";
var world = "world";

console.log(hello + world)
>>
print 'Hola World'
>>
>>55401562
vim:
IHel<ESC>vypao<ESC>vya<SPACE>W<ESC>parld
>>
let () = print_endline "hello, world!";;


>tfw you open your eyes and see no mistakes
>>
>>55409270
Not with line numbers, though.
>>
>>55401562
public class asdf {
public static void main(String[] args) {
System.out.println("Hello World!");
{
{


So close! Just used the wrong curly brackets in the end.
>>
>>55401562
print "helllo world"
>>
"Hello World"
>>
<code>
<?php
echo "Hello World!";
?>
</code>
>>
IO.puts "Hello, World!"
>>
>>55401562
#include <iostream>
int main(){
std::cout<<"Hello,workld|"L}
>>
section .data
x db "hllo eorld",10
len equ $-x
section .text
global _start
_start:
mov eax,4
mov ebx,1
mov ecx,x. movedx,len
int 80h
mov eax,1
mov ebx,0
int 80h
>>
while (1): 
print("Hello World"(
>>
Using system;

public class meme {
public static void main(string aegs) {
Console.wrkreljne("hello world");
}
}
>>
puts "hello world"


alternatively
namespace helloworld {
public class helloWorld {
public static void main(String [] args){
Console.writeline("Hello world");
}
}
}
>>
>>55401761
>:wq
shiggy. why not :x
>>
>>55402904
>improvements welcome
don't cheat next time
and what is /mem?
>>
Rust

pub fn main() P
println!("Helllo World!")
l}
>>
javascript
function helloO) :console.log):gello world!:_
{lhellp()
>>
>ITT: babbies don't know know how to touch type
#include <iostream>
using namespace std;
int main() {
cout << "Hello world!" << endl;
return 0;
}
>>
>>55414953
It's the ramdisk, probably.
>>
JS - On shitty macbook
console.log(helloworld"!)
>>
<html>hello world
>>
>>55401562
#include <stdio.h> // printf
#include <stdlib.h> // exit, EXIT_SUCCESS
/**
* @brief hello world with verbose comment
*
* Simple Hello world is boring. I'd like to introduce
* verbose-as-suck comment which isn't that helpful.
*
* @par purpose of this comment
* to deceive a supervisor to think I do a lot of work
* and have to be paid a lot.
*
* @param[in] argc number of arguments from command line.
* @param[in] argv array of arguments from command line.
*
* @return return of main
* @retval 0 things are to be done very well.
* @retval 1 something happened.
*
* @exception probably no exception, but I cannot guarantee.
*
* @author Who cares?
* @version 0.0.1 It is just beta.
* @copyright GPLv3
*/
int main(int argc, char* argv[]) {
int ret = printf("Hello, world!\n");
if(ret < 0)
exit(EXIT_FAILURE);
exit(EXIT_SUCCESS);
}
>>
#include <stdio.h>

int main() {
printf("Hello, world!\n");
return 0;
{


was doing great until that last curly brace
>>
File: code.png (7 KB, 850x382) Image search: [Google]
code.png
7 KB, 850x382
Written in the Poop esoteric language. Not too bad.
>>
>>55401562
print "Hello, World!"
>>
#include <stdio.h>

int main(int argc, char *argv[])
{
printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c",'H','e','l','l','o',',',' ','W','o','r','l','d','!','\n');

return 0;
}
>>
#!.bin/bash
echo Hello World
>>
>>55401562
print()"Hello World"

I'm totally retarded
>>
Konnichiwa sekai
>>
File: 1467592063296.jpg (41 KB, 720x542) Image search: [Google]
1467592063296.jpg
41 KB, 720x542
>>55417232
aahahahahahaha faggot
>>
alert('Hello World!')
>>
public class HeloWorld
{
public stativ void main(StringÑ[args)
{
System.out.println("Hello World");
}
}


Almost.
>>
PRINT "HELLO"
END
>>
Echib;grkkinveirjf,j

I tried to write
echo "Hello, World"
but I'm a tad stoned..
>>
In Python wouldn't it just be:
print "Hello world"
?

Are other languages actually that much more complicated or are people just memeing?
>>
>>55417725
have you ever seen Java?
>>
File: chans.png (291 KB, 715x392) Image search: [Google]
chans.png
291 KB, 715x392
>>55417634
Don't you have to do some imports for System.out.println to work?
>>
>>55401686
cyka blyat kompot idi nahuy babushka shashlik
>>
>>55401562
10 print "Hello, World!"
>>
>>55402011
This happens to me too what the fuck

Maybe we unconsciously glance at the keyboard during daytime and the darkness throws us off?
>>
>>55401711
Kek
>>
>>55402015
Fucking Genius. Give this anon a cookie!
>>
>>55402227
Ha ha ha ha!
Dirty Visual Basic Peasant! Join me in C programming, and ascend to Godhood; for you are weak, and I am mighty!
>>
#include <stdio.h>
int main() {
printf("hello w");
while(1)
{
fork();
}
>>
>>55418065
Basic is a lot cleaner and more legible than any other language and it's as full featured as C. Reading a program in basic is literally candy for the eyes. It is the language of the future.
>>
>>55401562
public static void main)String tags} {
System.our.println(KHsllo Works");
}

i'm on mobile
>>
#include <iostream>

using namespace std;

int main()
{
cout << "POO IN LOO!\n";

return 0;
}
>>
>>55404457
Underrated post
>>
>>55402797
Not doing that in source files or blocks is a meme and you should know it.
>>
#include <stdio.h>

int main(int argc, char * argv[])
{
priontf("hello world!");
retrun 0;
}
>>
>>55401562
#!/usr/bin/python
"Hello, world"

I think that works. Learn to touch type, people.
>>
>>55411252
>You need to add 20 END or you get an infinite loop.
not on Commodore BASIC at least, it just ends after the last instruction
>>
>>55401562
(print "Hello, worl!")
>>
>>55402660
lisp is divine. Its format directives are not.
>>55402715 (You)
>>

nclude <stdio.h>

int main()
{
printf("Hello, world~\n");
return 0;
}
>>
#!/usr/bin/env python

print "Hello, Worl1"
>>
>>55407646
Its not Mongolian fucktard
>>
Fn main(){ printl!("Hello world! ")}
>>
>>55420003
Tatars are mongoloids.
>>
print "helloworld!"
>>
#include ;upstream. H(
Int main =) =
Ciut::"hello woels;=
/
SwiftKey, BTW.
>>
>>55401562
print "hello niggers"
>>
printf hello world

did i win
>>
10 print "Hello World"
20 end

Also rip my commodore 64
>>
print "he;;p wo4ld"


pretty good for typing on a phone
>>
print 'Heil Hitler! Kill the Jews!'


Fuck I made a typo..
>>
>>55410976
>(°;
(°;
>>
>>55402276
Could be Ruby..
>>
using System;

cstatic class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}


>>
File: idklol.png (1 KB, 171x50) Image search: [Google]
idklol.png
1 KB, 171x50
how
>>
Gonna type all of this with my eyes closed. I would shit on people that can't touch-type but Imma porbs fuck it up.

#include <stdio.h>
int main(int argc, char **argv)
{
printf("Hello World\n");
}
>>
>>55423652
I forgot to return baka.
Oh well it will still run.
>>
[code
console.öoh)*help wrödÄ=:
/code
>>
print("hello world")
>>
#include stdio.h int main(int argc, char *argv[]){printf("Hello world!");}
>>
>>55401769
>python3
>>
echo "hello world";
>>
print 'hello world'
Thread replies: 238
Thread images: 15

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.