title: Is it possible to use #define from other cpp file?
body: <p>I think the preprocessor handles files one by one and I can't figure out how to do it with includes, so I think it's impossible, but it would be great to hear other's thoughts.</p>
  
  <p>I have in <code>a.cpp</code>:</p>
  
  <pre><code>#define A 1
  </code></pre>
  
  <p>and I want to use it from <code>2.cpp</code>.</p>
  
  <p>EDIT:
  I cant modify first file. So for now i just have copied defines. But question still opened.</p>