I have seen C++ code saved as both .cc
and .cpp
files. Is there a difference between the two?
The Google style guide seems to suggest .cc
, but provides no explanation.
I am mainly concerned with programs on Linux systems.
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.