#include <stdio.h>
Go to the source code of this file.
◆ main()
Definition at line 3 of file b2hex.cpp.
4{
5 puts("enum {");
6 for (int i = 0; i < 256; i++) {
8 for (
int j = 0;
j < 8;
j++) {
9 putchar(i & (1 << (7 -
j)) ?
'1' :
'0');
10 }
12 if (i < 255) putchar(',');
13 putchar('\n');
14 }
15 puts("};");
16 return 0;
17}
LOGGING_API void printf(Category category, const char *format,...)