What was the first code you ever compiled and ran

What was the first code you ever compiled and ran.

Attached: HelloWorld.png (809x298, 7K)

Other urls found in this thread:

pastebin.com/TNkXYirn
twitter.com/AnonBabble

looks like python in which case you never compiled

I literally just googled "Hello World" and that's the first thing that came up.

Python is compiled, it's just not a seperate user operation. That code would also work in lua.

when i was a kid a made a BASIC text game about beating up the school nerd

When I was a freshman Comp Sci major, the professor told us to just use Netbeans. I, being the autist that I am, read the first chapter of the textbook before class, which told me to write a Hello World program in Java and compile it in the Windows cmd.

program HelloWorld;

Begin
writeln("Hello, world.");
End.

>Python is compiled
What could user have meant by this?

So python is not compiled to byte code?

Python is interpreted dipshit, even the API is interpreted

Pascal? Yep those were the days

Attached: raf,360x360,075,t,fafafa_ca443f4786.jpg (360x360, 17K)

It was a script that changed the value of a file that determined the volume of a speaker. Then I bound it to a key combination. One script for up, another for down
No I don't remember it's content

Also bash

10 PRINT "user Rules!";
20 GOTO 10

Hello world in c++, wrote, compiled, and run with codeblocks.

Java program that printed my name and age

K&R Hello World in C

lol are you literally me
My first code is also Hello World in c++ using codeblocks.

Something like
Shutdown -s -t -message "You have a virus! Shutting down now to prevent damage!
Hidden in a internet explorer icon.

>Aah to be 9 years old again
This was the absolute height of my programming career. Boston was lame and so is robotics development

some ahk script to cheat on an online flash game

my first code was

If not compiled we were made to learn HTML in Junior high, basic effortless shit like , and we only got as far as .

In HS we learned a Java-based learning ecosystem called Processing, it was the first time I actually compiled stuff.

Good job Satan

based

Labas pasauli, in pascal

MsgBox "Hello, World!"

visual basic 6

CPython interprets, PyPy JIT compiles.
Most real scientific computation in Python is done in C, anyway.
What user meant is that the code itself is compiled to bytecode

it's technically compiled

c lol
braļukas!

You too, huh?

Probably something in QBasic?

cout

It wasn't compiled. It was something like (I was six, can't remember details):
:START
LDX #$00
LDA MSG,X
CMP #$00
BEQ EXIT
JSR $FFD2
INX
JMP START
:EXIT
RTS
:MSG
BYTE "T","E","S","T",$00

Why do you lie, fren?

It wasn't compiled. It was something like (I was six, so can't remember exacts):
LDX #$00
:LOOP
LDA MSG,X
CMP #$00
BEQ EXIT
JSR $FFD2
INX
JMP LOOP
:EXIT
RTS
:MSG
BYTE "T","E","S","T",$00

>you did something as a child i cant do
>you must be lying

bro!

x = MsgBox("Hello World", 0, "Title")

There is a strict definition of what 'compiling' means, and running python code doesn't fit it. So no, it's not "technically compiled".

well, it's not compiled to machine code. it is compiled to byte code, though.

>compiling
grampa go to sleep

>compiled
Can't remember. Probably some pascal bullshit in computer classes
I wrote some BAT scripts before that

not compiled but this is my first one as i can remember
it's a simple matrix effect in batch
@echo off
color 02
:matrix
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%
goto matrix

good times

textbox1.text="hello world"

Cls
Print "Hello world"

Shit Android app

Thank God I didn't stick to PHP for long

print('Hello, World')


It was Lua.

I think first thing i ever compiled and ran was linux kernel i you catch my drift. It got me interested in programming cause i needed a lot of help from my friend cause i couldnt into resolving problems with compilation at all

I don't remember but I once wrote a hello world in C with my feet

H
F
D
C Dsply 'Hello World'


This probably won't compile since it's not in the correct position.

#include
int main(void) {
printf("Hello World\n");
}

It was an interview challenge someone had posted here.
>calculate the smaller angle of the minute and hour hands of a clock from a given time
I wrote it in C but in a style that no one would write actual C programs in.

My first homework assignment.
pastebin.com/TNkXYirn

System.out.println("Hello World")

based

I think something in qbasic in 1996.

puts "Hello world"

programming gamemodes for San Andreas Multiplayer
good times

gentoo

```
.data
msg: .ascii "Hello, World!\n"
len: .int 14

.text
.global _start

_start:
movl len, %edx
movl $msg, %ecx
movl $1, %ebx
movl $4, %eax
int $128
movl $1, %eax
movl $77, %ebx
int $128
```

Fizzbuzz in either C++ or Pascal, not sure which though as I picked both languages up at the same time

...

so glad my college switched to C++, I dodged a bullet there