Difference Between .cpp And .cc File - C++ Forum

cplusplus.com
  • TUTORIALS
  • REFERENCE
  • ARTICLES
  • FORUM

C++

  • Tutorials
  • Reference
  • Articles
  • Forum

Forum

  • Beginners
  • Windows Programming
  • UNIX/Linux Programming
  • General C++ Programming
  • Lounge
  • Jobs
  • Forum
  • Beginners
  • difference between .cpp and .cc file

difference between .cpp and .cc file

CodeOpen (41) What is difference between .cpp and .cc file? I know both can be compile but what is difference of these two? Which one is more preferable than another one? helios (17607) There's no difference. Other equivalent extensions are .cxx, .c++, .C (not .c) The choice is mostly arbitrary, but try to avoid .c++, since it may cause problems for some tools, and .C, since some platforms use case-insensitive file names. .cpp, .cc, and .cxx are all fine, but pick just one for a single project, just for consistency. andywestken (4094) In the Windows world .cpp is the more common of the three (well, it's Visual Studio's default.) Andy Topic archived. No new replies allowed. Home page | Privacy policy© cplusplus.com, 2000-2025 - All rights reserved - v3.3.3Spotted an error? contact us

Từ khóa » .cc .cpp