We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
If you could include the quotes in the text file, ie
"abc"
you could do:
char textFile[] = #include "file.txt" ;