mercoledì 19 dicembre 2007

evil c constructs

Problema: This font definition has a bug. Find it


char font[] = {
....
0x000,0x061,0x051,0x049,0x045,0x043,0x000,0x000, // 1 :0x5A Z
0x070,0x029,0x024,0x022,0x024,0x029,0x070,0x000, // 1 :0x5B [
0x000,0x03D,0x042,0x042,0x042,0x042,0x03D,0x000, // 1 :0x5C \
0x000,0x03C,0x041,0x040,0x041,0x040,0x03C,0x000, // 1 :0x5D ]
...


Dai su... :>

(tratto da: http://www.steike.com/code/useless/evil-c/)

0 commenti:

Posta un commento