Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Simpler "Hello World" Demonstrated In C

bendelo 6 bytes ! Beat that !!! (582 comments)

Yours does more than the article did. Yours actually prints hello world. Hers just returned 42. So I am sure you can do even better...

If it just has to return 42...

C:\>debug
-a 0100
0D3D:0100 MOV AH,4C
0D3D:0102 MOV AL,2A
0D3D:0104 INT 21
0D3D:0106
-rcx
CX 0000
:6
-n ben.com
-w
Writing 00006 bytes

-q

C:\>BEN.COM

C:\>echo %ERRORLEVEL%
42

more than 4 years ago
top

Simpler "Hello World" Demonstrated In C

bendelo Re:How about 28 bytes?! (582 comments)

How about 22 bytes?

C:\>debug
-a 0100
0D39:0100 MOV AH,09
0D39:0102 MOV DX,0109
0D39:0105 INT 21
0D39:0107 INT 20
0D39:0109
-e 0109 'Hello world!$'
-r cx
CX 0000
:16
-n hello.com
-w
Writing 00016 bytes
-q

C:\>HELLO.COM
Hello world!
C:\>dir hello.com
26/08/2009 10:48 22 HELLO.COM

more than 4 years ago
top

Unpatched IE Flaw Extremely Critical

bendelo Re:is IE the sound that .... (277 comments)

So is "Firefox" the shortened version of "For fucks [sake]".

more than 8 years ago

Submissions

bendelo hasn't submitted any stories.

Journals

bendelo has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?