Embed text file into C++ source code?
Monkey Forums/Monkey Programming/Embed text file into C++ source code?
| ||
how do you embed text files into C++ source code? Im trying to use angelfont renderer with Nintendo DS which needs font info exactly formatted. |
| ||
You can only include C/C++ code into C++ source code. Some 3D modellers export models as C++ source code also. They can be like ASCII or binary data. For binary data you just import a C source code with some array definition using the "unsigned char data1[]={1,2,3,...};" tags. |