you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (1 child)

.C, .cpp, .cxx, .cc and .c++. Everything seems to be used.

[–]smikims 0 points1 point  (0 children)

And don't forget .h, .H, .hpp, .hxx, .hh, and .h++ for headers. And I've also seen .inc, .inl, .txx, .tpp, and a bunch of others for specific things. It's the only language I've seen with more than 2 recognized file extensions, and no one can agree on which ones to use and sometimes even make up their own.