when i add a new .c in the qtcreator project ,it has this error:
unknow type name namespace,unknow type name class
and the solution just change the .c to .cpp can solve the problm
when i add a new .c in the qtcreator project ,it has this error:
unknow type name namespace,unknow type name class
and the solution just change the .c to .cpp can solve the problm