This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#include a string from file

Hi all,

I have a text file and need to include it as a string in the firmware.

For example:

char textFile[] = "#include "file.txt"";

Where file.txt contains:

abc

The result I want to get is:

char textFile[] = "abc";

You guys know any tricks?

Thanks,

Anh

Parents Reply Children
No data