.c for c programs
.cpp for c++ programs
.cxx for ?
Answer: That too for C++. ".CXX" is an old-style extension for C++ source files the X is supposed to represent plus signs turned 45 degree.
Source: http://stackoverflow.com/questions/5171502/c-vs-cc-vs-cpp-vs-hpp-vs-h-vs-cxx