C ++代码文件扩展名?.cc和.cpp有什么区别 [英] C++ code file extension? What is the difference between .cc and .cpp
本文介绍了C ++代码文件扩展名?.cc和.cpp有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经看到C ++代码另存为 .cc
和 .cpp
文件.两者之间有区别吗?
I have seen C++ code saved as both .cc
and .cpp
files. Is there a difference between the two?
Google样式指南似乎建议使用 .cc
,但未提供任何解释.
The Google style guide seems to suggest .cc
, but provides no explanation.
我主要关注Linux系统上的程序.
I am mainly concerned with programs on Linux systems.
推荐答案
最后,这没关系,因为C ++编译器可以处理两种格式的文件.如果这是您团队中的实际问题,请掷硬币并继续进行实际工作.
At the end of the day it doesn't matter because C++ compilers can deal with the files in either format. If it's a real issue within your team, flip a coin and move on to the actual work.
这篇关于C ++代码文件扩展名?.cc和.cpp有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文