On 16 February 2015 at 17:45, Jonny Grant wrote: > While I remember: > Stroustrup lists C++ extensions as .cxx and .cpp > http://www.stroustrup.com/glossary.html > > ISO sample sources use .cpp: > http://standards.iso.org/ittf/PubliclyAvailableStandards/c043351_ISO_IEC_TR_18015_2006(E).zip > > .C in GCC sources was the only place I've ever seen it.
The first edition of TCPPPL just uses .c for C++ source files ("Files containing function or data definitions must be suffixed by .c" p107) but the recent 4th edition lists several conventions, including .C, and it's also listed in the official C++ FAQ https://isocpp.org/wiki/faq/coding-standards#src-file-ext (which originated at http://www.parashift.com/c++-faq/src-file-ext.html) Renaming them would be a lot of churn for no great benefit, and it doesn't seem as though any of the people asking for a change are the people who actually work with the files day in day out.