Mercurial > bcc
annotate README.md @ 3:b91e030a2040
bcc: generates only unsigned arrays
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 20 Nov 2020 11:25:05 +0100 |
parents | e5fc6565dce0 |
children | 6934cc306ac3 |
rev | line source |
---|---|
0 | 1 bcc |
2 === | |
3 | |
4 Simple tool to convert any file into a C or C++ array for direct inclusion into | |
5 the source code. | |
6 | |
7 Quick usage | |
8 ----------- | |
9 | |
10 Example: convert a image for embedding. | |
11 | |
3
b91e030a2040
bcc: generates only unsigned arrays
David Demelier <markand@malikania.fr>
parents:
0
diff
changeset
|
12 bcc -sc mario.png mario > mario.h |
0 | 13 |
14 Now, you can include mario.h file and use `mario` C array, `sizeof (mario)` is | |
15 also possible. | |
16 | |
17 Documentation | |
18 ------------- | |
19 | |
20 See bcc(1) manual page. | |
21 | |
22 Author | |
23 ------ | |
24 | |
25 David Demelier <markand@malikania.fr> |