Hello world...

Code:
$ echo Console.WriteLine("Hello world"); > Program.cs
$ dotnet run
 
Why you people worried about the OP's programming skills.You should be more worried about his/her mental state.
 
bunch of pansies ....

org 0x100
mov dx, msg
mov ah, 9
int 0x21
mov dl, 0x0d
mov ah, 2
int 0x21
mov dl, 0x0a
mov ah, 2
int 0x21
mov ah, 0x4c
int 0x21
msg db 'Hello World!$'
 
Well you see now, there's an issue. You said if someone hides your cigarettes then you're a dragon. However, dragons blow smoke and fire and if your cigs have been stolen, you cannot blow smoke and there's no fire. So the logic doesn't work there as you have attributes assigned to a missing item instead of the item being present.

Please keep this lesson in mind as you advance in your coding career.
Well that is just Canon at this point, any D&D will tell you
 
Meh. Calling interrupts is just using someone else’s code. Just write straight to the frame buffer instead.
been ages since I wrote any actual assembly code, I did have to use someone else's code in this case :X3:

regardless, there can be no more badass way to do hello world than essentially speaking almost directly to the hardware imo

... even though most of my real programming experience was in Java
 
I understand absolutely nothing in this thread.

Edit: oh wait sorry I see it's the software and web development forum which I know nothing about. Never been here, don't know how I got here :laugh:
 
Never again... Pascal

Java:
program Hello;
begin
  writeln ('Hello, world.');
end.

F*** No... Java
Java:
public class HelloWorld {
    public static void main(String[] args) {
     System.out.println("Hello, World");
    }
}

Oh ActionScript 3... I miss you old friend

JavaScript:
import flash.display.Sprite;

public class Main extends Sprite {
    public function Main() {
        super();
        trace("Hello, World");
    }
}

And finally... f***ing javascript, the unfortunate bastard child rammed sideways into web browsers. Just give us c# or Java or Python or ActionScript.

alert('Jirre God, help my asseblief')
 
Top
Sign up to the MyBroadband newsletter
X