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*(1<<3)+1*(1<<4),
1*(1<<0)+0*(1<<1)+0*(1<<2)+1*(1<<3)+1*(1<<4),
Нарыл в институте.
Забивают цифры для показывания на светодиодной панельке 5x7 (если присмотритесь, можете увидеть картинку, образуемую нулями). Такой простыни 96 КБ.
vercetti 30.04.2012 22:42 # +3
#define _DDDD 0x0F
#define _D____ 0x08
и уже такими штуками забивал бы в массив. Было бы и нагляднее, и короче
Lure Of Chaos 01.05.2012 02:41 # +6
bormand 01.05.2012 07:05 # +1
Но текстовый файл однозначно рулит.
vercetti 01.05.2012 11:00 # +1
roman-kashitsyn 01.05.2012 11:04 # 0
bormand 01.05.2012 11:09 # 0
roman-kashitsyn 01.05.2012 12:09 # 0
lucidfoxGovno 01.05.2012 20:59 # +1
3.14159265 01.05.2012 22:00 # +1
absolut 01.05.2012 22:57 # 0
vercetti 01.05.2012 20:21 # 0
bormand 02.05.2012 05:31 # 0
bormand 01.05.2012 07:09 # 0
movaxbx 30.04.2012 23:52 # 0
bormand 01.05.2012 07:09 # +3
vercetti 01.05.2012 11:05 # 0
bormand 01.05.2012 12:24 # 0
vercetti 01.05.2012 13:00 # 0
bormand 01.05.2012 07:17 # +2
TarasB 01.05.2012 21:25 # −1
bormand 02.05.2012 05:37 # +3
vercetti 01.05.2012 22:05 # 0
Перепутал, значит, с printf — там нет печати в двоичном виде.
vercetti 01.05.2012 22:19 # 0
bormand 02.05.2012 05:41 # 0
P.S. а можно вот так поступить, если не туплю
bormand 02.05.2012 05:52 # 0
MAKAKA 24.08.2021 15:58 # 0
MAKAKA 24.08.2021 16:02 # 0
MAKAKA 24.08.2021 16:05 # 0
MAKAKA 24.08.2021 16:08 # 0
MAPTbIwKA 24.08.2021 16:10 # 0
MAPTbIwKA 24.08.2021 16:15 # 0
MAKAKA 24.08.2021 16:18 # 0
MAPTbIwKA 24.08.2021 16:18 # 0