Update and rename temp.c to temp.cpp