News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Tiny "Hello world!"

Started by kobold, February 08, 2006, 05:46:54 PM

Previous topic - Next topic

kobold

I created some months ago a tiny "hello world" example in only 544 bytes of code. Everything is made with PellesC, no special tools were used.
Perhaps you might find it usefull for your work.
Enjoy...

Freddy

Pelles C linker rulez!  :)
But the EXE woth align set to 0x10 will work on any windows version?

Vortex

Quote from: "Freddy"Pelles C linker rulez!  :)
But the EXE woth align set to 0x10 will work on any windows version?

The Microsoft Portable Executable specification says that an executable should have the size of a minimum 1024 bytes. There is no any guarantee that kobold's executable will run on every version of windows.
Code it... That's all...

kobold

This example is not designed to be as compatible as possible, i made it for testing only. To test how small a hello world program can be, and to test every dirty trick i know. Making a 1024 byte program is lame  :mrgreen: