title: Correct C++ file extension
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1545080/correct-c-code-file-extension-cc-vs-cpp">Correct C++ code file extension? .cc vs .cpp</a><br>
    <a href="https://stackoverflow.com/questions/5171502/c-vs-cc-vs-cpp-vs-hpp-vs-h-vs-cxx">.c vs .cc vs. .cpp vs .hpp vs .h vs .cxx</a>  </p>
  </blockquote>
  
  
  
  <p>I have written C++ code in files with extension <code>.cpp</code>, <code>.cc</code> or <code>.cxx</code></p>
  
  <p>Can anyone explain that what is the difference between these three and which one is the best ( is that platform dependent ) and why?</p>
  
  <p>I am currently working on cygwin.</p>