fix bugs and change c++ ->c record.cpp
fix bugs and change c++ ->c record.cpp