Look dad, I'm a programmer!

look dad, I'm a programmer!
>printf("Hello world\n");

Attached: .jpg (319x158, 7K)

I'm a kissless virgin

That you are.

See? Console output! Dad was wrong!

look dad, i'm gay!

Attached: images.png (498x296, 16K)

look dad, i'm autistic!

Attached: lisp.jpg (638x479, 32K)

.global _start

.data

string:
.ascii "Hello, world!\n"
string_length=.-string

.text

_start:

movq $1, %rax
movq $1, %rdi
movq $string, %rsi
movq $string_length, %rdx
syscall

movq $0x3c, %rax
xorq %rdi, %rdi
syscall

why do you need a function to print hello world?
also, he didn't even call it

Holy fuck

Attached: 837.png (2500x1645, 148K)

there must be main in cpp to even compile

Har har

quality bait 8/10

Have a (you)

user... I...

Attached: i_am_become_bait.jpg (625x800, 80K)

>not using puts

FYI summerfags

Attached: image-20161005-15882-13x0gd1.jpg (640x640, 52K)

Why main() haves to return 0? Thats retarded

typedef struct OP
{
int isFaggot;
} OP;

OP* op = malloc(sizeof(OP));
op->isFaggot = 1;

Use studio.hd, user. It's better.

>return(n)
holy fuck

Hello, lads.

Attached: concon.jpg (1079x470, 57K)

Reminder:

'' == '0' // false
0 == '' // true
0 == '0' // true

false == 'false' // false
false == '0' // true

false == undefined // false
false == null // false
null == undefined // true

' \t\r\n ' == 0 // true

...

write(1,"Hello World\n",14);

var greeting = "Hello World!";
for (var i = 0; i < greeting.length; i++) {
console.log(greeting[i]);
}

oh (you)

Me too user!

Attached: Capture.png (392x115, 7K)

here you go
def main( argc, argv ):
print( "Hello, World" )

if __name__ == "__main__":
import sys
main( len( sys.argv ), sys.argv )

>Not being in on the joke
user.. I..

echo "hello world";


wew lad that was so hard

>his language doesn't have designated hello world printing package

>his language doesn't have a hello world abstract class factory

0 means no errors occurred.
Non-zero means some kind of error occurred.

Then you can take advantage of this later:
if myprogram
then
# actions if the program ran successfully
else
# actions if the program encountered an error
fi

Hello gay! I'm dad!

NOT STANDARD C REEEEEEEEEEEE

Attached: 1527703224213.png (448x468, 194K)

isn't it the opposite then?

>returning 0

(You)

++++++++++[>+++++++>++++++++++>+++>+.
8^)