title: #include absolute path syntax in c/c++
body: <p>For some reason, I need to use the absolute path in <code>#include</code> for my system.</p>
  
  <p>Is using <code>#include "D:\temp\temp_lib\temp.h"</code> acceptable?</p>
  
  <p>I have tried these different usage and it all seems to work.</p>
  
  <ol>
  <li><code>#include "D:\temp\temp_lib\temp.h"</code></li>
  <li><code>#include "D:\\temp\\temp_lib\\temp.h"</code></li>
  <li><code>#include "D:/temp/temp_lib/temp.h"</code></li>
  </ol>
  
  <p>I just want to know which one should I use? I am using MSVC 2005. I'm wondering if all three will still work in Linux or other environment.</p>
  
  <p>I was expecting #1 to be an error during compilation, but I did not get any. Anyone has any idea why that is?</p>