Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
C “Hello World” Written in Paint (imgur.com)
10 points by kirkbackus on Feb 6, 2015 | hide | past | favorite | 4 comments


This is kind of disappointing.. I thought it would actually compile or something. Is it even possible with that BMP header?

Only writing some text as a bitmap isn't very impressive when the pixels are stored directly as bytes by default.


It does not compile because of the header =\ I tried and even though it can be forgiving of null characters, it definitely doesn't like the stray bytes.


Why not link to the bmp? I'd like to inspect it myself.


http://f.cl.ly/items/442N071f051Y3q2l0F1Z/main.bmp

The colors look a bit off from the video but the text is in there correctly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: