title: Include a file as a string
body: <p>Is there a preprocessor trick that allows me to "include" a file as a string in a header?</p>
  
  <p>Something like this:</p>
  
  <p><strong><code>a.txt</code></strong></p>
  
  <pre><code>lorem ipsum dolorem
  sit amet
  </code></pre>
  
  <p>and the "magic" include call similar to this:</p>
  
  <p><strong><code>header.h</code></strong></p>
  
  <pre><code>MAGICINCLUDE(a.txt, atxt)
  </code></pre>
  
  <p>As a result, the preprocessor does tricks and the above line is equivalent to this:</p>
  
  <pre><code>const char* atxt = "lorem ipsum dolorem\n\
  sit amet";
  </code></pre>
  
  <p>No external tool shall be used, just the preprocessor: I am trying to get rid of my python scripts that do this.</p>