Error c2065: ‘new’: undeclared identifier, mainly because it is a. C file

Char * filename = new char [100].
in.c, new is not declared,
If it is in a.cpP file, there is no problem

Read More: