Changed ltd.c to .cpp